Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 123.2 kB / 17.14 MB, free: 5.914 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.001907/0.001907, allocations: 190.3 kB / 18.06 MB, free: 4.996 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.33/1.33, allocations: 222.9 MB / 241.7 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04578/0.04578, allocations: 8.091 MB / 300 MB, free: 6.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.91 kB / 415.1 MB, free: 21.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08057/0.08176, allocations: 51.52 MB / 466.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.002588/0.08438, allocations: 1.22 MB / 467.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.08638, allocations: 1.473 MB / 469.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.942e-05/0.0865, allocations: 8 kB / 469.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003699/0.0869, allocations: 115.3 kB / 469.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.08717, allocations: 75.53 kB / 469.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.08878, allocations: 0.8981 MB / 470.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00027/0.08906, allocations: 159.2 kB / 470.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.08921, allocations: 53.52 kB / 470.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.807e-05/0.08929, allocations: 59.78 kB / 470.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.08944, allocations: 91.59 kB / 470.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.08948, allocations: 16 kB / 470.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003365/0.08982, allocations: 199.8 kB / 471 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.08988, allocations: 23.92 kB / 471 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.143e-05/0.08996, allocations: 83.53 kB / 471.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003957/0.09036, allocations: 299.2 kB / 471.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.09038, allocations: 3.938 kB / 471.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.09038, allocations: 0 / 471.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.09039, allocations: 0 / 471.4 MB, free: 13.36 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.00168/0.09208, allocations: 0.6395 MB / 472.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.09212, allocations: 11.89 kB / 472.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.09218, allocations: 20.69 kB / 472.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.09243, allocations: 228.7 kB / 472.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.09246, allocations: 8.609 kB / 472.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.0925, allocations: 12.38 kB / 472.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.09279, allocations: 187.5 kB / 472.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.09281, allocations: 0 / 472.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.09284, allocations: 8 kB / 472.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.09285, allocations: 0 / 472.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000231/0.09308, allocations: 156.6 kB / 472.7 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009759/0.09407, allocations: 0.7068 MB / 473.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005191/0.0946, allocations: 209.8 kB / 473.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.09475, allocations: 88.84 kB / 473.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.196e-05/0.0948, allocations: 11.98 kB / 473.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.09483, allocations: 34.56 kB / 473.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.09483, allocations: 0 / 473.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001743/0.09658, allocations: 0.5615 MB / 474.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.09662, allocations: 55.41 kB / 474.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.0968, allocations: 176 kB / 474.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.09684, allocations: 29.7 kB / 474.5 MB, free: 9.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.09691, allocations: 116.2 kB / 474.7 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.09696, allocations: 51.2 kB / 474.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.893e-05/0.09704, allocations: 45.7 kB / 474.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.09715, allocations: 326.8 kB / 475.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.0973, allocations: 91.97 kB / 475.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.09745, allocations: 98.81 kB / 475.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.09775, allocations: 212.6 kB / 475.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.09776, allocations: 3.938 kB / 475.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008284/0.0986, allocations: 388.4 kB / 475.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.09862, allocations: 4 kB / 475.8 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.09863, allocations: 3.938 kB / 475.9 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006437/0.09928, allocations: 136.7 kB / 476 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.09942, allocations: 31.92 kB / 476 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.1018, allocations: 2.04 MB / 478.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.102, allocations: 15.75 kB / 478.1 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.102, allocations: 8 kB / 478.1 MB, free: 6.281 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 (18): * Single equations (assignments): 17 * 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 {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.1021, allocations: 125.8 kB / 478.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/0.1022, allocations: 11.89 kB / 478.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008462/0.103, allocations: 367.5 kB / 478.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.103, allocations: 0 / 478.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.103, allocations: 0 / 478.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1031, allocations: 3.984 kB / 478.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.1033, allocations: 301.3 kB / 478.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1033, allocations: 0 / 478.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.418e-05/0.1034, allocations: 19.98 kB / 478.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005849/0.104, allocations: 144.7 kB / 479 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.104, allocations: 4 kB / 479 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/0.1062, allocations: 2.009 MB / 481 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1062, allocations: 4 kB / 481 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00079/0.107, allocations: 430.8 kB / 481.5 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.1071, allocations: 96.8 kB / 481.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.1071, allocations: 7.984 kB / 481.6 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.1073, allocations: 4 kB / 481.6 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.1073, allocations: 19.92 kB / 481.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.1073, allocations: 7.984 kB / 481.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.1075, allocations: 132.1 kB / 481.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1075, allocations: 0 / 481.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003456/0.1078, allocations: 64 kB / 481.8 MB, free: 2.324 MB / 350.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 (13): * Single equations (assignments): 12 * 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 {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001625/0.108, allocations: 115.2 kB / 481.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007479/0.1087, allocations: 378.5 kB / 482.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1088, allocations: 0 / 482.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004682/0.1092, allocations: 266.5 kB / 482.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.1095, allocations: 23.98 kB / 482.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005841/0.1101, allocations: 376.9 kB / 482.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.1104, allocations: 0.724 MB / 483.7 MB, free: 372 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.1105, allocations: 19.44 kB / 483.7 MB, free: 352 kB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1105, allocations: 3.938 kB / 483.7 MB, free: 348 kB / 350.1 MB Notification: Performance of Templates: time 0.005055/0.1155, allocations: 3.103 MB / 486.8 MB, free: 13.24 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1)