Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3",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.001571/0.001571, allocations: 104.7 kB / 16.45 MB, free: 6.438 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.001857/0.001857, allocations: 189.5 kB / 17.39 MB, free: 5.688 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.399/1.399, 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.04504/0.04504, allocations: 8.095 MB / 299.3 MB, free: 6.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 68.11 kB / 414 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1313, allocations: 51.51 MB / 465.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3): time 0.005627/0.137, allocations: 2.902 MB / 468.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003414/0.1404, allocations: 1.668 MB / 470.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005244/0.141, allocations: 8 kB / 470.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008369/0.1419, allocations: 175 kB / 470.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001346/0.1433, allocations: 246.4 kB / 470.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00335/0.1467, allocations: 1.229 MB / 471.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001489/0.1482, allocations: 0.5054 MB / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006534/0.1488, allocations: 216.9 kB / 472.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003443/0.1492, allocations: 211.3 kB / 472.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003267/0.1495, allocations: 258.9 kB / 472.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.087e-05/0.1496, allocations: 44 kB / 472.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006125/0.1502, allocations: 275.8 kB / 473.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.828e-05/0.1503, allocations: 107.5 kB / 473.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.1505, allocations: 246.8 kB / 473.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008069/0.1514, allocations: 0.694 MB / 474.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1514, allocations: 0 / 474.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1514, allocations: 0 / 474.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1514, allocations: 0 / 474.2 MB, free: 9.898 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.005941/0.1573, allocations: 1.439 MB / 475.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/0.1574, allocations: 11.89 kB / 475.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001494/0.1576, allocations: 78.72 kB / 475.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001954/0.1578, allocations: 56.36 kB / 475.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006678/0.1585, allocations: 355.3 kB / 476.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.944e-05/0.1585, allocations: 37.38 kB / 476.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.1587, allocations: 52.25 kB / 476.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.16, allocations: 0.5542 MB / 476.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.1601, allocations: 3.938 kB / 476.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.671e-05/0.1601, allocations: 20 kB / 476.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.1602, allocations: 8 kB / 476.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.1613, allocations: 483.8 kB / 477.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004489/0.1658, allocations: 2.187 MB / 479.5 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.1673, allocations: 0.6346 MB / 480.1 MB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006242/0.1679, allocations: 268.7 kB / 480.4 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.168, allocations: 4 kB / 480.4 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.887e-05/0.1681, allocations: 46.56 kB / 480.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.725e-06/0.1681, allocations: 0 / 480.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.0105/0.1786, allocations: 1.826 MB / 482.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.263e-05/0.1787, allocations: 114.8 kB / 482.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005241/0.1793, allocations: 278.8 kB / 482.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.25e-05/0.1794, allocations: 37.7 kB / 482.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.1796, allocations: 201.1 kB / 482.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.1799, allocations: 149.8 kB / 483 MB, free: 0.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003138/0.1802, allocations: 102.2 kB / 483.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1804, allocations: 346.7 kB / 483.5 MB, free: 176 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007641/0.1812, allocations: 273 kB / 483.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008306/0.182, allocations: 328.6 kB / 484.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.1837, allocations: 0.6022 MB / 484.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.1837, allocations: 4.031 kB / 484.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.005698/0.1894, allocations: 1.205 MB / 485.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.1894, allocations: 4 kB / 485.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.1895, allocations: 0 / 485.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006249/0.1957, allocations: 0.7695 MB / 486.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006947/0.1964, allocations: 87.88 kB / 486.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/0.2084, allocations: 3.885 MB / 490.6 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007253/0.2092, allocations: 59.42 kB / 490.7 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.2093, allocations: 19.98 kB / 490.7 MB, free: 8.789 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.0003811/0.2097, allocations: 165.8 kB / 490.9 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.2099, allocations: 35.56 kB / 490.9 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00557/0.2155, allocations: 1.167 MB / 492.1 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.2155, allocations: 7.938 kB / 492.1 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2155, allocations: 0 / 492.1 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.2155, allocations: 0 / 492.1 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006088/0.2216, allocations: 1.748 MB / 493.8 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.2217, allocations: 8 kB / 493.8 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/0.222, allocations: 63.86 kB / 493.9 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004456/0.2264, allocations: 0.7382 MB / 494.6 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.576e-05/0.2265, allocations: 11.94 kB / 494.6 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00632/0.2328, allocations: 3.847 MB / 498.5 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2328, allocations: 0 / 498.5 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003082/0.2359, allocations: 1.172 MB / 499.7 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.2361, allocations: 120.5 kB / 499.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.056e-05/0.2361, allocations: 12 kB / 499.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.2365, allocations: 29.5 kB / 499.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.2366, allocations: 40.31 kB / 499.9 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/0.2367, allocations: 16 kB / 499.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002071/0.2369, allocations: 194 kB / 0.4883 GB, free: 15.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2369, allocations: 0 / 0.4883 GB, free: 15.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006497/0.2376, allocations: 199.7 kB / 0.4885 GB, free: 14.97 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 (34): * Single equations (assignments): 33 * 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.003372/0.2409, allocations: 1.732 MB / 0.4902 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002325/0.2433, allocations: 0.9882 MB / 0.4912 GB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.2433, allocations: 7.906 kB / 0.4912 GB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001617/0.2449, allocations: 0.6491 MB / 0.4918 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.2453, allocations: 39.41 kB / 0.4919 GB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009519/0.2549, allocations: 5.079 MB / 0.4968 GB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.2553, allocations: 0.8246 MB / 0.4976 GB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.2555, allocations: 50.92 kB / 0.4977 GB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.2557, allocations: 143.4 kB / 0.4978 GB, free: 5.293 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2557, allocations: 3.938 kB / 0.4978 GB, free: 5.289 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2373/0.493, allocations: 15.27 MB / 0.5127 GB, free: 44.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.38, allocations: 1.594 kB / 0.5127 GB, free: 44.92 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe 2>&1)