Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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: translateModel(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 103.3 kB / 16.45 MB, free: 6.441 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.002209/0.002209, allocations: 186.4 kB / 17.38 MB, free: 5.695 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.383/1.383, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05415/0.05415, allocations: 8.098 MB / 299.3 MB, free: 6.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 67.89 kB / 414.5 MB, free: 21.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09576/0.09697, allocations: 51.51 MB / 466 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.002893/0.0999, allocations: 2.31 MB / 468.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.1017, allocations: 1.664 MB / 470 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.95e-05/0.1018, allocations: 8 kB / 470 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.1022, allocations: 163.1 kB / 470.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003873/0.1026, allocations: 210.6 kB / 470.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.1047, allocations: 1.221 MB / 471.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004502/0.1051, allocations: 410 kB / 472 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.1053, allocations: 139.1 kB / 472.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002501/0.1056, allocations: 171.4 kB / 472.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.1059, allocations: 211.1 kB / 472.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.31e-05/0.1059, allocations: 32 kB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004351/0.1064, allocations: 271.7 kB / 472.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.798e-05/0.1065, allocations: 71.75 kB / 472.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.1066, allocations: 199 kB / 473 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006248/0.1073, allocations: 0.5725 MB / 473.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1073, allocations: 0 / 473.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1073, allocations: 0 / 473.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1073, allocations: 4 kB / 473.6 MB, free: 10.54 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.00501/0.1123, allocations: 1.365 MB / 475 MB, free: 9.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1124, allocations: 12.03 kB / 475 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.1125, allocations: 40.47 kB / 475 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/0.113, allocations: 327.5 kB / 475.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.113, allocations: 20.94 kB / 475.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.802e-05/0.1131, allocations: 40.38 kB / 475.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007714/0.1138, allocations: 473 kB / 475.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.1139, allocations: 192 / 475.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.1139, allocations: 11.94 kB / 475.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.1139, allocations: 8 kB / 475.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005914/0.1145, allocations: 422 kB / 476.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002713/0.1173, allocations: 2.009 MB / 478.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008631/0.1181, allocations: 0.518 MB / 478.8 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003655/0.1185, allocations: 292.7 kB / 479.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-05/0.1186, allocations: 7.984 kB / 479.1 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.1186, allocations: 38.56 kB / 479.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 3.447e-06/0.1186, allocations: 0 / 479.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006868/0.1255, allocations: 1.927 MB / 481.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.1256, allocations: 110.8 kB / 481.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/0.126, allocations: 270.9 kB / 481.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.995e-05/0.1261, allocations: 41.7 kB / 481.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.1262, allocations: 164.8 kB / 481.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.1263, allocations: 149.8 kB / 481.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.1265, allocations: 102.2 kB / 481.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1267, allocations: 342.8 kB / 482.2 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004775/0.1271, allocations: 293 kB / 482.5 MB, free: 1.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004734/0.1276, allocations: 356.6 kB / 482.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000914/0.1286, allocations: 0.6491 MB / 483.5 MB, free: 172 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1286, allocations: 0 / 483.5 MB, free: 172 kB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003367/0.1319, allocations: 1.264 MB / 484.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.132, allocations: 8 kB / 484.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.132, allocations: 3.938 kB / 484.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003627/0.1356, allocations: 0.7695 MB / 485.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.136, allocations: 91.89 kB / 485.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007147/0.1431, allocations: 4.169 MB / 489.8 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004109/0.1436, allocations: 51.44 kB / 489.9 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/0.1436, allocations: 19.98 kB / 489.9 MB, free: 9.652 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.0001935/0.1438, allocations: 162.6 kB / 490 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.403e-05/0.1439, allocations: 31.62 kB / 490.1 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0034/0.1473, allocations: 1.222 MB / 491.3 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.1473, allocations: 4 kB / 491.3 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.1474, allocations: 4 kB / 491.3 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-06/0.1474, allocations: 3.984 kB / 491.3 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005703/0.1479, allocations: 0.5559 MB / 491.9 MB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.148, allocations: 4 kB / 491.9 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.1482, allocations: 63.91 kB / 491.9 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003377/0.1516, allocations: 0.7383 MB / 492.7 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.72e-05/0.1516, allocations: 12 kB / 492.7 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006878/0.1585, allocations: 4.13 MB / 496.8 MB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1585, allocations: 8 kB / 496.8 MB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003182/0.1617, allocations: 1.226 MB / 498 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.595e-05/0.1618, allocations: 120.5 kB / 498.2 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-05/0.1619, allocations: 8 kB / 498.2 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/0.1622, allocations: 27.92 kB / 498.2 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.1624, allocations: 40.38 kB / 498.2 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-05/0.1624, allocations: 19.94 kB / 498.3 MB, free: 1.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000188/0.1626, allocations: 190 kB / 498.4 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1626, allocations: 4 kB / 498.4 MB, free: 0.832 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005951/0.1632, allocations: 175.9 kB / 498.6 MB, free: 0.6602 MB / 366.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 (36): * Single equations (assignments): 35 * 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.0002127/0.1634, allocations: 119.2 kB / 498.7 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002488/0.1659, allocations: 1.051 MB / 499.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.1659, allocations: 0 / 499.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001765/0.1677, allocations: 0.6846 MB / 0.4887 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.1681, allocations: 36.88 kB / 0.4888 GB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.1693, allocations: 0.7643 MB / 0.4895 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.1697, allocations: 0.7974 MB / 0.4903 GB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001699/0.1698, allocations: 54.92 kB / 0.4904 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.229e-05/0.1699, allocations: 35.42 kB / 0.4904 GB, free: 13.04 MB / 382.1 MB Notification: Performance of SimCode: time 2.094e-06/0.1699, allocations: 0 / 0.4904 GB, free: 13.04 MB / 382.1 MB Notification: Performance of Templates: time 0.0182/0.1881, allocations: 11.8 MB / 0.5019 GB, free: 1.281 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1)