Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008591/0.0008591, allocations: 96.86 kB / 15.74 MB, free: 424 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009456/0.0009455, allocations: 172 kB / 16.62 MB, free: 6.613 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.452/1.452, allocations: 223.3 MB / 240.7 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2645/0.2645, allocations: 8.075 MB / 299.8 MB, free: 2.934 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003284, allocations: 8 kB / 362.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1272, allocations: 52.52 MB / 415.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.001833/0.1291, allocations: 1.167 MB / 416.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.1316, allocations: 1.462 MB / 418 MB, free: 6.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002567/0.1319, allocations: 4 kB / 418 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004424/0.1323, allocations: 87.59 kB / 418.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004004/0.1327, allocations: 95.42 kB / 418.2 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.1343, allocations: 0.7358 MB / 418.9 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004447/0.1347, allocations: 222.8 kB / 419.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.1349, allocations: 68.09 kB / 419.2 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.1351, allocations: 75.72 kB / 419.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.1354, allocations: 119.5 kB / 419.4 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.746e-05/0.1354, allocations: 8 kB / 419.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004719/0.1359, allocations: 183.8 kB / 419.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.345e-05/0.1359, allocations: 43.78 kB / 419.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.211e-05/0.136, allocations: 61.64 kB / 419.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004299/0.1365, allocations: 267.6 kB / 420 MB, free: 4.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1365, allocations: 0 / 420 MB, free: 4.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.691e-06/0.1365, allocations: 4 kB / 420 MB, free: 4.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.1365, allocations: 3.938 kB / 420 MB, free: 4.109 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002282/0.1388, allocations: 0.7836 MB / 420.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1388, allocations: 12.03 kB / 420.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.348e-05/0.1389, allocations: 27.67 kB / 420.8 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.1393, allocations: 255.2 kB / 421 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.1393, allocations: 12.33 kB / 421 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.1393, allocations: 20 kB / 421.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.1398, allocations: 255.8 kB / 421.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1398, allocations: 7.984 kB / 421.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.1398, allocations: 4 kB / 421.3 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.1398, allocations: 4 kB / 421.3 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003684/0.1402, allocations: 247.9 kB / 421.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.1417, allocations: 1.125 MB / 422.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/0.1423, allocations: 314.4 kB / 423 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.1426, allocations: 160.8 kB / 423.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.396e-05/0.1427, allocations: 8.422 kB / 423.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.1427, allocations: 38.5 kB / 423.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.833e-06/0.1427, allocations: 0 / 423.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.2768/0.4195, allocations: 0.9593 MB / 424.2 MB, free: 41.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.4196, allocations: 55.34 kB / 424.2 MB, free: 41.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.4199, allocations: 190.1 kB / 424.4 MB, free: 41.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.275e-05/0.42, allocations: 33.23 kB / 424.4 MB, free: 41.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.539e-05/0.4201, allocations: 131.5 kB / 424.6 MB, free: 41.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.716e-05/0.4201, allocations: 83.73 kB / 424.6 MB, free: 41.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.782e-05/0.4202, allocations: 2.375 kB / 424.6 MB, free: 41.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.111e-05/0.4202, allocations: 330.9 kB / 425 MB, free: 40.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.4205, allocations: 159.2 kB / 425.1 MB, free: 40.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.4207, allocations: 157.5 kB / 425.3 MB, free: 40.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.421, allocations: 178.9 kB / 425.5 MB, free: 40.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.421, allocations: 0 / 425.5 MB, free: 40.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001353/0.4223, allocations: 0.6348 MB / 426.1 MB, free: 40.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.4224, allocations: 3.219 kB / 426.1 MB, free: 40.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4224, allocations: 0 / 426.1 MB, free: 40.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.4236, allocations: 332.2 kB / 426.4 MB, free: 40.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.4238, allocations: 46.48 kB / 426.5 MB, free: 40.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003279/0.4271, allocations: 2.538 MB / 429 MB, free: 39.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.4273, allocations: 23.69 kB / 429 MB, free: 39.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.4273, allocations: 7.938 kB / 429 MB, free: 39.49 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.4275, allocations: 144.2 kB / 429.2 MB, free: 39.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/0.4275, allocations: 21.5 kB / 429.2 MB, free: 39.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.4289, allocations: 0.6204 MB / 429.8 MB, free: 39.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.4289, allocations: 6.719 kB / 429.8 MB, free: 39.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.4289, allocations: 1.5 kB / 429.8 MB, free: 39.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.429, allocations: 0 / 429.8 MB, free: 39.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.4293, allocations: 385 kB / 430.2 MB, free: 39.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4293, allocations: 0 / 430.2 MB, free: 39.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.787e-05/0.4294, allocations: 32.67 kB / 430.2 MB, free: 39.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001143/0.4306, allocations: 315.2 kB / 430.5 MB, free: 39.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.4306, allocations: 5 kB / 430.5 MB, free: 39.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003121/0.4337, allocations: 2.509 MB / 433.1 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4338, allocations: 0 / 433.1 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.4352, allocations: 0.6645 MB / 433.7 MB, free: 37.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.4352, allocations: 111.7 kB / 433.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.4353, allocations: 2.875 kB / 433.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.4354, allocations: 21.73 kB / 433.9 MB, free: 37.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.4355, allocations: 20.33 kB / 433.9 MB, free: 37.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.4355, allocations: 11.91 kB / 433.9 MB, free: 37.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.4357, allocations: 152.1 kB / 434 MB, free: 37.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4357, allocations: 3.938 kB / 434 MB, free: 37.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004359/0.4361, allocations: 94.59 kB / 434.1 MB, free: 37.3 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001945/0.4363, allocations: 115.9 kB / 434.2 MB, free: 37.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.4374, allocations: 0.6059 MB / 434.8 MB, free: 36.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4375, allocations: 0 / 434.8 MB, free: 36.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000758/0.4382, allocations: 430.4 kB / 435.3 MB, free: 36.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.4386, allocations: 35.06 kB / 435.3 MB, free: 36.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008085/0.4394, allocations: 0.565 MB / 435.9 MB, free: 36.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.4396, allocations: 0.7472 MB / 436.6 MB, free: 35.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.4397, allocations: 35.42 kB / 436.6 MB, free: 35.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.018e-05/0.4398, allocations: 23.47 kB / 436.7 MB, free: 35.57 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4398, allocations: 0 / 436.7 MB, free: 35.57 MB / 350.1 MB Notification: Performance of Templates: time 0.009727/0.4495, allocations: 5.302 MB / 442 MB, free: 35.24 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1) Environment - environmentSimulation: