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: translateModel(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") translateModel(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 113.7 kB / 17.13 MB, free: 5.965 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.001075/0.001075, allocations: 190.3 kB / 18.06 MB, free: 5.043 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.303/1.303, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04869/0.04869, allocations: 8.104 MB / 300 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 71.83 kB / 415.2 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07932/0.08054, allocations: 51.51 MB / 466.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.003337/0.08391, allocations: 2.246 MB / 468.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.08635, allocations: 1.664 MB / 470.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.08661, allocations: 4 kB / 470.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004558/0.08708, allocations: 155.1 kB / 470.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000576/0.08769, allocations: 194.7 kB / 470.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.08956, allocations: 0.9723 MB / 471.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006009/0.09017, allocations: 414 kB / 472.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002831/0.09046, allocations: 143.2 kB / 472.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002538/0.09072, allocations: 171.3 kB / 472.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003677/0.0911, allocations: 227 kB / 472.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.187e-05/0.09119, allocations: 36 kB / 472.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000465/0.09166, allocations: 223.8 kB / 473.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.459e-05/0.09174, allocations: 83.62 kB / 473.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.09196, allocations: 199 kB / 473.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007528/0.09272, allocations: 0.5375 MB / 473.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.09274, allocations: 0 / 473.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.09274, allocations: 0 / 473.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.09276, allocations: 0 / 473.9 MB, free: 10.91 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.00408/0.09684, allocations: 1.142 MB / 475 MB, free: 9.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.0969, allocations: 12.03 kB / 475.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.09702, allocations: 40.47 kB / 475.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004359/0.09747, allocations: 335.4 kB / 475.4 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.0975, allocations: 20.94 kB / 475.4 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.151e-05/0.09757, allocations: 36.38 kB / 475.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006771/0.09825, allocations: 413.3 kB / 475.9 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.09827, allocations: 192 / 475.9 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.805e-05/0.09832, allocations: 23.92 kB / 475.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.09834, allocations: 11.94 kB / 475.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006166/0.09896, allocations: 402.1 kB / 476.3 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.1012, allocations: 1.538 MB / 477.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.1024, allocations: 0.5552 MB / 478.4 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003853/0.1028, allocations: 281.5 kB / 478.7 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-05/0.1029, allocations: 24.3 kB / 478.7 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.1029, allocations: 34.94 kB / 478.7 MB, free: 5.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.704e-06/0.1029, allocations: 4 kB / 478.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.004786/0.1077, allocations: 1.643 MB / 480.4 MB, free: 4.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.1078, allocations: 63.41 kB / 480.4 MB, free: 4.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.1081, allocations: 270.6 kB / 480.7 MB, free: 3.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.689e-05/0.1081, allocations: 37.7 kB / 480.7 MB, free: 3.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1083, allocations: 160.9 kB / 480.9 MB, free: 3.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.1084, allocations: 157.7 kB / 481.1 MB, free: 3.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.1086, allocations: 94.23 kB / 481.1 MB, free: 3.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1087, allocations: 342.8 kB / 481.5 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.1091, allocations: 261 kB / 481.7 MB, free: 2.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003877/0.1095, allocations: 273 kB / 482 MB, free: 2.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008337/0.1103, allocations: 0.5781 MB / 482.6 MB, free: 1.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1103, allocations: 0 / 482.6 MB, free: 1.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002482/0.1128, allocations: 1.032 MB / 483.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1129, allocations: 8 kB / 483.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.1129, allocations: 0 / 483.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001972/0.1148, allocations: 426.1 kB / 484 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.1152, allocations: 79.89 kB / 484.1 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007329/0.1225, allocations: 6.094 MB / 490.2 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004008/0.123, allocations: 43.52 kB / 490.3 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/0.123, allocations: 16 kB / 490.3 MB, free: 9.734 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 (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.0002233/0.1233, allocations: 157.8 kB / 490.4 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.1234, allocations: 47.47 kB / 490.5 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002486/0.1259, allocations: 0.9936 MB / 491.5 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.1259, allocations: 8 kB / 491.5 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-06/0.1259, allocations: 0 / 491.5 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.1259, allocations: 7.984 kB / 491.5 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006444/0.1266, allocations: 0.5636 MB / 492 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1266, allocations: 7.938 kB / 492 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.1268, allocations: 55.91 kB / 492.1 MB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001816/0.1286, allocations: 422.1 kB / 492.5 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/0.1287, allocations: 15.98 kB / 492.5 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006658/0.1353, allocations: 6.03 MB / 498.6 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1354, allocations: 3.938 kB / 498.6 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002326/0.1377, allocations: 1.013 MB / 499.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.1378, allocations: 120.6 kB / 499.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.566e-05/0.1379, allocations: 15.84 kB / 499.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/0.1383, allocations: 23.98 kB / 499.7 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.1384, allocations: 44.38 kB / 499.8 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.1385, allocations: 12 kB / 499.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002528/0.1387, allocations: 205.9 kB / 500 MB, free: 15.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1387, allocations: 0 / 500 MB, free: 15.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006235/0.1394, allocations: 163.9 kB / 0.4884 GB, free: 15.29 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 (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.0002122/0.1396, allocations: 131.2 kB / 0.4886 GB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002085/0.1417, allocations: 1.084 MB / 0.4896 GB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1417, allocations: 3.938 kB / 0.4896 GB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.1431, allocations: 0.7601 MB / 0.4904 GB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.1436, allocations: 56.81 kB / 0.4904 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.1449, allocations: 0.7807 MB / 0.4912 GB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.1452, allocations: 0.8089 MB / 0.492 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.1454, allocations: 39.42 kB / 0.492 GB, free: 11.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1454, allocations: 0 / 0.492 GB, free: 11.5 MB / 382.1 MB Notification: Performance of Templates: time 0.01295/0.1583, allocations: 9.993 MB / 0.5018 GB, free: 1.508 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.makefile (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 & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1)