Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 120.1 kB / 17.13 MB, free: 5.891 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.00114/0.00114, allocations: 194.3 kB / 18.06 MB, free: 4.973 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.457/1.457, allocations: 222.9 MB / 241.8 MB, free: 15.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04516/0.04516, allocations: 8.097 MB / 300 MB, free: 6.594 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 67.91 kB / 415.2 MB, free: 21.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07669/0.07783, allocations: 51.51 MB / 466.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.002493/0.08034, allocations: 1.687 MB / 468.4 MB, free: 460 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.08218, allocations: 1.563 MB / 469.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.507e-05/0.08227, allocations: 4 kB / 469.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.0826, allocations: 135.2 kB / 470.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.0829, allocations: 127.2 kB / 470.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.08444, allocations: 0.9216 MB / 471.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.08477, allocations: 270.7 kB / 471.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.08494, allocations: 84.58 kB / 471.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.08506, allocations: 111.6 kB / 471.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.08526, allocations: 143.4 kB / 471.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.681e-05/0.08531, allocations: 20 kB / 471.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003512/0.08566, allocations: 215.8 kB / 471.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.244e-05/0.08572, allocations: 51.83 kB / 472 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.08582, allocations: 123.3 kB / 472.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004478/0.08627, allocations: 414.8 kB / 472.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.08629, allocations: 3.938 kB / 472.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.08629, allocations: 0 / 472.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.08631, allocations: 4 kB / 472.5 MB, free: 12.27 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.002556/0.08887, allocations: 0.8424 MB / 473.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.08891, allocations: 11.89 kB / 473.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.134e-05/0.08899, allocations: 32.56 kB / 473.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.08928, allocations: 260.7 kB / 473.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.08931, allocations: 16.81 kB / 473.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.08936, allocations: 20.38 kB / 473.7 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004596/0.08982, allocations: 299.7 kB / 474 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.08984, allocations: 192 / 474 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.08988, allocations: 15.88 kB / 474 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.08989, allocations: 4 kB / 474 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000397/0.0903, allocations: 277.6 kB / 474.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.09174, allocations: 1.043 MB / 475.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009402/0.09269, allocations: 454.6 kB / 475.8 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.09296, allocations: 177.3 kB / 475.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.02e-05/0.09302, allocations: 19.98 kB / 475.9 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.09305, allocations: 42.48 kB / 476 MB, free: 8.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.593e-06/0.09306, allocations: 0 / 476 MB, free: 8.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002999/0.09606, allocations: 0.9483 MB / 476.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.09611, allocations: 51.41 kB / 477 MB, free: 7.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.09634, allocations: 227.7 kB / 477.2 MB, free: 7.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.09638, allocations: 29.7 kB / 477.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.55e-05/0.09647, allocations: 140.6 kB / 477.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.713e-05/0.09656, allocations: 98.56 kB / 477.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.09668, allocations: 73.62 kB / 477.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.09681, allocations: 334.8 kB / 477.9 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/0.09706, allocations: 172 kB / 478 MB, free: 6.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.09733, allocations: 175.9 kB / 478.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000553/0.09789, allocations: 397.2 kB / 478.6 MB, free: 5.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.0979, allocations: 0 / 478.6 MB, free: 5.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001391/0.09929, allocations: 0.6617 MB / 479.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.09932, allocations: 7.938 kB / 479.3 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.09933, allocations: 0 / 479.3 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.1004, allocations: 248.6 kB / 479.5 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.1006, allocations: 55.91 kB / 479.6 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003679/0.1043, allocations: 2.692 MB / 482.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.1045, allocations: 35.67 kB / 482.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.1046, allocations: 15.88 kB / 482.3 MB, free: 2.004 MB / 350.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 (32): * Single equations (assignments): 31 * 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 {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.1047, allocations: 143.1 kB / 482.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.174e-05/0.1048, allocations: 23.72 kB / 482.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.1062, allocations: 0.6062 MB / 483.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1062, allocations: 4 kB / 483.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.1062, allocations: 0 / 483.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1062, allocations: 3.984 kB / 483.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.108, allocations: 1.054 MB / 484.1 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.108, allocations: 0 / 484.1 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.1081, allocations: 31.98 kB / 484.2 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009875/0.1091, allocations: 244.6 kB / 484.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.1091, allocations: 4 kB / 484.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003369/0.1125, allocations: 2.672 MB / 487.1 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1125, allocations: 0 / 487.1 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.1139, allocations: 0.6536 MB / 487.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.588e-05/0.114, allocations: 104.8 kB / 487.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.969e-05/0.114, allocations: 7.938 kB / 487.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.1142, allocations: 12 kB / 487.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/0.1143, allocations: 27.95 kB / 487.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.1143, allocations: 12 kB / 487.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.1145, allocations: 167 kB / 488.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1145, allocations: 0 / 488.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004489/0.115, allocations: 107.9 kB / 488.2 MB, free: 11.88 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 (20): * Single equations (assignments): 19 * 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 {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001861/0.1152, allocations: 119.3 kB / 488.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.1165, allocations: 0.6155 MB / 488.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1165, allocations: 0 / 488.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008036/0.1173, allocations: 398.4 kB / 489.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.1177, allocations: 35.2 kB / 489.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009097/0.1186, allocations: 0.5546 MB / 489.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.119, allocations: 0.7524 MB / 490.6 MB, free: 9.328 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.695e-05/0.1191, allocations: 31.42 kB / 490.7 MB, free: 9.297 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1191, allocations: 0 / 490.7 MB, free: 9.297 MB / 366.1 MB Notification: Performance of Templates: time 0.00693/0.126, allocations: 4.689 MB / 495.4 MB, free: 4.605 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1)