Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.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.OneSourceThreeLinesThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads",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.00106/0.00106, allocations: 105.7 kB / 16.03 MB, free: 6.309 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.001224/0.001224, allocations: 194.3 kB / 16.95 MB, free: 6.141 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.241/1.241, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04348/0.04348, allocations: 8.095 MB / 298.9 MB, free: 6.688 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 63.89 kB / 361.3 MB, free: 8.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1595, allocations: 51.51 MB / 412.8 MB, free: 25.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.002287/0.1618, allocations: 2.281 MB / 415.1 MB, free: 23.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.1631, allocations: 1.649 MB / 416.8 MB, free: 21.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.075e-05/0.1632, allocations: 8 kB / 416.8 MB, free: 21.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.1635, allocations: 127.4 kB / 416.9 MB, free: 21.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.1638, allocations: 171 kB / 417.1 MB, free: 21.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.165, allocations: 0.9065 MB / 418 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.1653, allocations: 406.1 kB / 418.4 MB, free: 20.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.1654, allocations: 141.4 kB / 418.5 MB, free: 20.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.64e-05/0.1655, allocations: 179.2 kB / 418.7 MB, free: 19.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.1657, allocations: 223.1 kB / 418.9 MB, free: 19.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.12e-05/0.1658, allocations: 32 kB / 418.9 MB, free: 19.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002503/0.166, allocations: 219.8 kB / 419.1 MB, free: 19.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.166e-05/0.1661, allocations: 83.62 kB / 419.2 MB, free: 19.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.1662, allocations: 202.9 kB / 419.4 MB, free: 19.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.1666, allocations: 0.5297 MB / 420 MB, free: 18.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1666, allocations: 4 kB / 420 MB, free: 18.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1666, allocations: 0 / 420 MB, free: 18.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1666, allocations: 0 / 420 MB, free: 18.6 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003046/0.1696, allocations: 1.154 MB / 421.1 MB, free: 17.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.1697, allocations: 11.89 kB / 421.1 MB, free: 17.38 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.379e-05/0.1697, allocations: 66.72 kB / 421.2 MB, free: 17.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.216e-05/0.1698, allocations: 40.47 kB / 421.2 MB, free: 17.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.1701, allocations: 327.5 kB / 421.6 MB, free: 16.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1701, allocations: 28.94 kB / 421.6 MB, free: 16.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/0.1702, allocations: 28.38 kB / 421.6 MB, free: 16.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004842/0.1706, allocations: 417.3 kB / 422 MB, free: 16.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.1707, allocations: 3.938 kB / 422 MB, free: 16.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.1707, allocations: 12 kB / 422 MB, free: 16.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1707, allocations: 8 kB / 422 MB, free: 16.42 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004233/0.1711, allocations: 414 kB / 422.4 MB, free: 16.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.1727, allocations: 1.538 MB / 424 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000871/0.1735, allocations: 0.5591 MB / 424.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/0.1738, allocations: 281.5 kB / 424.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.924e-05/0.1739, allocations: 8.359 kB / 424.8 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.388e-05/0.1739, allocations: 46.88 kB / 424.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=46): time 1.433e-06/0.1739, allocations: 0 / 424.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=46): time 0.00379/0.1777, allocations: 1.643 MB / 426.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.736e-05/0.1777, allocations: 55.41 kB / 426.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.178, allocations: 278.6 kB / 426.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.178, allocations: 41.64 kB / 426.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.1781, allocations: 161 kB / 427 MB, free: 11.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.005e-05/0.1781, allocations: 165.6 kB / 427.2 MB, free: 11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.1783, allocations: 94.23 kB / 427.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.321e-05/0.1783, allocations: 338.8 kB / 427.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.1786, allocations: 265 kB / 427.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.1789, allocations: 269 kB / 428.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005928/0.1795, allocations: 0.5819 MB / 428.7 MB, free: 9.457 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1795, allocations: 0 / 428.7 MB, free: 9.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001882/0.1814, allocations: 1.028 MB / 429.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.1814, allocations: 11.94 kB / 429.8 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1814, allocations: 0 / 429.8 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/0.183, allocations: 430.1 kB / 430.2 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.1833, allocations: 79.83 kB / 430.3 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004649/0.1879, allocations: 6.108 MB / 436.4 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.1882, allocations: 43.52 kB / 436.4 MB, free: 1.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.1882, allocations: 16 kB / 436.4 MB, free: 1.32 MB / 302.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 (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.1884, allocations: 153.8 kB / 436.6 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.644e-05/0.1884, allocations: 35.56 kB / 436.6 MB, free: 1.125 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.1903, allocations: 1.005 MB / 437.6 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1903, allocations: 12 kB / 437.6 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.1904, allocations: 0 / 437.6 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1904, allocations: 3.984 kB / 437.6 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005076/0.1909, allocations: 0.5637 MB / 438.2 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1909, allocations: 0 / 438.2 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.1911, allocations: 55.92 kB / 438.3 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001616/0.1927, allocations: 426.1 kB / 438.7 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.1927, allocations: 11.98 kB / 438.7 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005434/0.1982, allocations: 6.041 MB / 444.7 MB, free: 8.504 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1982, allocations: 4.094 kB / 444.7 MB, free: 8.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/0.2002, allocations: 1.01 MB / 445.7 MB, free: 7.465 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.417e-05/0.2002, allocations: 124.5 kB / 445.9 MB, free: 7.324 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.375e-05/0.2003, allocations: 11.94 kB / 445.9 MB, free: 7.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/0.2006, allocations: 31.92 kB / 445.9 MB, free: 7.281 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.863e-05/0.2007, allocations: 40.38 kB / 445.9 MB, free: 7.242 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.2008, allocations: 16 kB / 446 MB, free: 7.227 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001908/0.201, allocations: 197.9 kB / 446.1 MB, free: 7.035 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.201, allocations: 0 / 446.1 MB, free: 7.035 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004842/0.2015, allocations: 167.9 kB / 446.3 MB, free: 6.871 MB / 318.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 (37): * 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: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002211/0.2037, allocations: 1.581 MB / 447.9 MB, free: 5.258 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001763/0.2054, allocations: 1.103 MB / 449 MB, free: 4.113 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2055, allocations: 8 kB / 449 MB, free: 4.105 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.2067, allocations: 0.7679 MB / 449.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.2071, allocations: 49.06 kB / 449.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007008/0.2141, allocations: 4.86 MB / 454.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.2144, allocations: 0.7974 MB / 455.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001746/0.2146, allocations: 50.92 kB / 455.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.2147, allocations: 115.4 kB / 455.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2147, allocations: 0 / 455.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08954/0.3043, allocations: 14.14 MB / 469.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/0.3045, allocations: 228.5 kB / 470 MB, free: 15.1 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/2.312, allocations: 3.938 kB / 470 MB, free: 15.09 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1)