Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 106.8 kB / 16.45 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 190 kB / 17.38 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04565/0.04565, allocations: 8.101 MB / 299.3 MB, free: 6.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 63.89 kB / 414 MB, free: 22.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08558/0.08673, allocations: 51.52 MB / 465.5 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1): time 0.003911/0.09069, allocations: 2.692 MB / 468.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002467/0.09318, allocations: 1.625 MB / 469.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002871/0.09349, allocations: 8 kB / 469.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000513/0.09404, allocations: 163 kB / 470 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006864/0.09474, allocations: 230.5 kB / 470.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002176/0.09693, allocations: 1.233 MB / 471.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007274/0.09766, allocations: 461.8 kB / 471.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003123/0.09799, allocations: 168.7 kB / 472.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002925/0.09829, allocations: 195.2 kB / 472.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003907/0.09869, allocations: 235 kB / 472.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.378e-05/0.09879, allocations: 40 kB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005761/0.09937, allocations: 267.8 kB / 472.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.09948, allocations: 91.62 kB / 472.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.09975, allocations: 226.8 kB / 473.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008908/0.1007, allocations: 0.6396 MB / 473.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1007, allocations: 0 / 473.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1007, allocations: 0 / 473.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.054e-05/0.1007, allocations: 0 / 473.7 MB, free: 10.42 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004955/0.1057, allocations: 1.392 MB / 475.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1057, allocations: 15.83 kB / 475.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.25e-05/0.1058, allocations: 74.72 kB / 475.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.1059, allocations: 52.38 kB / 475.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.1063, allocations: 335.5 kB / 475.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.1064, allocations: 29.03 kB / 475.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.173e-05/0.1064, allocations: 36.38 kB / 475.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007575/0.1072, allocations: 0.514 MB / 476.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1072, allocations: 3.938 kB / 476.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.475e-05/0.1073, allocations: 16 kB / 476.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.1073, allocations: 8 kB / 476.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006315/0.1079, allocations: 446.4 kB / 476.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002845/0.1108, allocations: 2.106 MB / 478.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008631/0.1116, allocations: 0.5785 MB / 479.3 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003465/0.112, allocations: 276.8 kB / 479.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.377e-05/0.1121, allocations: 11.98 kB / 479.6 MB, free: 4.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.1121, allocations: 42.5 kB / 479.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.1121, allocations: 0 / 479.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.00699/0.1191, allocations: 1.935 MB / 481.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.1192, allocations: 110.8 kB / 481.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.1195, allocations: 270.9 kB / 481.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.092e-05/0.1195, allocations: 37.7 kB / 482 MB, free: 1.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1196, allocations: 188.5 kB / 482.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.1198, allocations: 145.9 kB / 482.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.1199, allocations: 102.2 kB / 482.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1201, allocations: 342.8 kB / 482.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004046/0.1205, allocations: 285 kB / 483 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004365/0.1209, allocations: 340.6 kB / 483.3 MB, free: 324 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008496/0.1218, allocations: 0.6257 MB / 484 MB, free: 15.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1218, allocations: 0 / 484 MB, free: 15.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003281/0.1251, allocations: 1.241 MB / 485.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.1251, allocations: 8 kB / 485.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1251, allocations: 7.875 kB / 485.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003412/0.1285, allocations: 0.7767 MB / 486 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.1289, allocations: 91.83 kB / 486.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006833/0.1357, allocations: 4.007 MB / 490.1 MB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004187/0.1362, allocations: 55.42 kB / 490.2 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/0.1362, allocations: 19.98 kB / 490.2 MB, free: 9.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002132/0.1365, allocations: 169.7 kB / 490.3 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.292e-05/0.1366, allocations: 31.62 kB / 490.4 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003225/0.1398, allocations: 1.175 MB / 491.5 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.1398, allocations: 7.984 kB / 491.6 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.1398, allocations: 0 / 491.6 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1398, allocations: 0 / 491.6 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003759/0.1436, allocations: 1.763 MB / 493.3 MB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.1436, allocations: 3.938 kB / 493.3 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.1438, allocations: 63.91 kB / 493.4 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003339/0.1472, allocations: 0.7376 MB / 494.1 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.163e-05/0.1472, allocations: 16 kB / 494.1 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006699/0.1539, allocations: 3.957 MB / 498.1 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.154, allocations: 0 / 498.1 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003226/0.1572, allocations: 1.192 MB / 499.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.1573, allocations: 116.5 kB / 499.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-05/0.1574, allocations: 11.94 kB / 499.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/0.1578, allocations: 35.11 kB / 499.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.964e-05/0.1579, allocations: 40.31 kB / 499.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/0.1579, allocations: 19.94 kB / 499.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001841/0.1581, allocations: 190 kB / 499.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1581, allocations: 0 / 499.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000631/0.1588, allocations: 187.8 kB / 499.9 MB, free: 15.38 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00344/0.1622, allocations: 1.759 MB / 0.4899 GB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002326/0.1645, allocations: 1.012 MB / 0.4909 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1646, allocations: 0 / 0.4909 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001631/0.1662, allocations: 0.6647 MB / 0.4915 GB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.1666, allocations: 36.88 kB / 0.4916 GB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009665/0.1763, allocations: 5.126 MB / 0.4966 GB, free: 6.633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.1767, allocations: 0.8091 MB / 0.4973 GB, free: 5.801 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001711/0.1768, allocations: 50.92 kB / 0.4974 GB, free: 5.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.177, allocations: 143.4 kB / 0.4975 GB, free: 5.609 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.177, allocations: 0 / 0.4975 GB, free: 5.609 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2346/0.4117, allocations: 15.5 MB / 0.5127 GB, free: 45.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.37, allocations: 7.688 kB / 0.5127 GB, free: 45.31 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe 2>&1)