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.00114/0.00114, allocations: 114 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.001583/0.001583, allocations: 193.2 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.388/1.388, allocations: 222.9 MB / 241.8 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.05159/0.05159, allocations: 8.091 MB / 300 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.91 kB / 415.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09012/0.09136, allocations: 51.51 MB / 466.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.00338/0.09479, allocations: 2.251 MB / 468.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00246/0.09728, allocations: 1.66 MB / 470.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002942/0.09759, allocations: 8 kB / 470.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004908/0.0981, allocations: 167 kB / 470.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006005/0.09874, allocations: 182.8 kB / 470.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.1006, allocations: 0.9685 MB / 471.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006767/0.1013, allocations: 414 kB / 472.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.1016, allocations: 139.1 kB / 472.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.1018, allocations: 171.3 kB / 472.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003793/0.1022, allocations: 231 kB / 472.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.88e-05/0.1023, allocations: 32 kB / 472.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004637/0.1028, allocations: 219.8 kB / 473.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.917e-05/0.1029, allocations: 83.62 kB / 473.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.1031, allocations: 206.9 kB / 473.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007072/0.1038, allocations: 0.5297 MB / 473.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1038, allocations: 0 / 473.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1038, allocations: 0 / 473.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.1038, 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.003876/0.1077, allocations: 1.146 MB / 475 MB, free: 9.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1078, allocations: 15.89 kB / 475 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.1079, allocations: 44.47 kB / 475.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/0.1083, allocations: 331.4 kB / 475.4 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.1084, allocations: 24.94 kB / 475.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.775e-05/0.1084, allocations: 36.36 kB / 475.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000668/0.1091, allocations: 413.3 kB / 475.9 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1091, allocations: 192 / 475.9 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.195e-05/0.1092, allocations: 19.88 kB / 475.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.1092, allocations: 8 kB / 475.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000615/0.1098, allocations: 418 kB / 476.3 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.112, allocations: 1.538 MB / 477.8 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.1132, allocations: 0.5475 MB / 478.4 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003802/0.1136, allocations: 293.4 kB / 478.7 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.944e-05/0.1137, allocations: 12.38 kB / 478.7 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.1137, allocations: 42.88 kB / 478.7 MB, free: 5.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.445e-06/0.1137, allocations: 0 / 478.7 MB, free: 5.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.00473/0.1185, allocations: 1.643 MB / 480.4 MB, free: 4.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.1185, allocations: 55.41 kB / 480.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.1189, allocations: 274.6 kB / 480.7 MB, free: 3.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.528e-05/0.1189, allocations: 37.7 kB / 480.7 MB, free: 3.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.1191, allocations: 164.9 kB / 480.9 MB, free: 3.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.1192, allocations: 153.8 kB / 481 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.1194, allocations: 94.23 kB / 481.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1195, allocations: 346.8 kB / 481.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/0.1199, allocations: 265 kB / 481.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003957/0.1203, allocations: 273 kB / 482 MB, free: 2.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008475/0.1212, allocations: 0.5781 MB / 482.6 MB, free: 1.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1212, allocations: 4 kB / 482.6 MB, free: 1.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002343/0.1235, allocations: 1.024 MB / 483.6 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.1236, allocations: 4 kB / 483.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1236, allocations: 3.938 kB / 483.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001846/0.1254, allocations: 426.1 kB / 484 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.1257, allocations: 75.89 kB / 484.1 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00758/0.1333, allocations: 6.098 MB / 490.2 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004131/0.1338, allocations: 47.53 kB / 490.3 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/0.1339, allocations: 15.98 kB / 490.3 MB, free: 9.711 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.0002433/0.1341, allocations: 161.8 kB / 490.4 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.1342, allocations: 39.47 kB / 490.5 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002452/0.1367, allocations: 0.9936 MB / 491.5 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1367, allocations: 4 kB / 491.5 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.1367, allocations: 0 / 491.5 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.1367, allocations: 7.984 kB / 491.5 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006808/0.1374, allocations: 0.5714 MB / 492 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1374, allocations: 0 / 492 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.1376, allocations: 55.97 kB / 492.1 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001802/0.1395, allocations: 430.1 kB / 492.5 MB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/0.1395, allocations: 8 kB / 492.5 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007521/0.147, allocations: 6.026 MB / 498.6 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1471, allocations: 3.938 kB / 498.6 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/0.1494, allocations: 1.021 MB / 499.6 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.1495, allocations: 116.6 kB / 499.7 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-05/0.1496, allocations: 19.83 kB / 499.7 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003591/0.15, allocations: 27.97 kB / 499.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/0.1502, allocations: 48.33 kB / 499.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.1502, allocations: 19.98 kB / 499.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002394/0.1505, allocations: 194 kB / 500 MB, free: 15.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1505, allocations: 0 / 500 MB, free: 15.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006492/0.1511, allocations: 167.9 kB / 0.4884 GB, free: 15.27 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.0002408/0.1514, allocations: 127.2 kB / 0.4886 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00201/0.1534, allocations: 1.091 MB / 0.4896 GB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.1534, allocations: 0 / 0.4896 GB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.1547, allocations: 0.764 MB / 0.4904 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.1552, allocations: 44.81 kB / 0.4904 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.1566, allocations: 0.7895 MB / 0.4912 GB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/0.1571, allocations: 0.805 MB / 0.492 GB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.1572, allocations: 39.42 kB / 0.492 GB, free: 11.48 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1572, allocations: 0 / 0.492 GB, free: 11.48 MB / 382.1 MB Notification: Performance of Templates: time 0.01352/0.1707, allocations: 10.04 MB / 0.5018 GB, free: 1.441 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)