Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008378/0.0008376, allocations: 97.72 kB / 16.06 MB, free: 40 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.000891/0.000891, allocations: 186.1 kB / 16.96 MB, free: 6.871 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.443/1.443, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1968/0.1968, allocations: 8.089 MB / 300.2 MB, free: 2.906 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.000341, allocations: 8 kB / 363.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1372, allocations: 52.52 MB / 416 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.002254/0.1395, allocations: 1.294 MB / 417.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002698/0.1423, allocations: 1.536 MB / 418.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001977/0.1425, allocations: 4 kB / 418.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004161/0.1429, allocations: 111.6 kB / 418.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005399/0.1435, allocations: 119.4 kB / 419.1 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002176/0.1457, allocations: 0.9926 MB / 420.1 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005543/0.1462, allocations: 230.8 kB / 420.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.1465, allocations: 64.09 kB / 420.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.1467, allocations: 95.64 kB / 420.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.1469, allocations: 123.4 kB / 420.6 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.98e-05/0.1469, allocations: 8 kB / 420.6 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005934/0.1475, allocations: 223.7 kB / 420.8 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.92e-05/0.1476, allocations: 43.83 kB / 420.8 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.1478, allocations: 137 kB / 421 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007858/0.1486, allocations: 399 kB / 421.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1486, allocations: 0 / 421.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1486, allocations: 0 / 421.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.1486, allocations: 0 / 421.3 MB, free: 3.016 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.00378/0.1524, allocations: 0.9593 MB / 422.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.1525, allocations: 8.031 kB / 422.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.1526, allocations: 24.66 kB / 422.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004428/0.1531, allocations: 259.9 kB / 422.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.1531, allocations: 16.7 kB / 422.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.616e-05/0.1532, allocations: 16.38 kB / 422.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005739/0.1537, allocations: 306.8 kB / 422.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1538, allocations: 192 / 422.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.1538, allocations: 15.94 kB / 422.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1538, allocations: 4 kB / 422.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004154/0.1542, allocations: 247.9 kB / 423.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2596/0.4139, allocations: 1.167 MB / 424.4 MB, free: 41.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006929/0.4146, allocations: 310.8 kB / 424.7 MB, free: 41.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.4149, allocations: 157.2 kB / 424.8 MB, free: 41.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.509e-05/0.4149, allocations: 8.641 kB / 424.8 MB, free: 41.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.415, allocations: 44.69 kB / 424.9 MB, free: 41.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.294e-06/0.415, allocations: 0 / 424.9 MB, free: 41.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003868/0.4188, allocations: 1.06 MB / 425.9 MB, free: 41.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.4189, allocations: 108 kB / 426 MB, free: 41.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.4191, allocations: 219.9 kB / 426.2 MB, free: 40.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.4192, allocations: 29.64 kB / 426.3 MB, free: 40.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/0.4193, allocations: 141.7 kB / 426.4 MB, free: 40.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.05e-05/0.4194, allocations: 84.7 kB / 426.5 MB, free: 40.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.4194, allocations: 37.62 kB / 426.5 MB, free: 40.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.026e-05/0.4195, allocations: 332.3 kB / 426.9 MB, free: 40.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.4197, allocations: 173.5 kB / 427 MB, free: 40.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.42, allocations: 212.4 kB / 427.2 MB, free: 40.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004707/0.4205, allocations: 383.9 kB / 427.6 MB, free: 40.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4205, allocations: 0 / 427.6 MB, free: 40.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00192/0.4224, allocations: 0.7482 MB / 428.4 MB, free: 40.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.4224, allocations: 3.219 kB / 428.4 MB, free: 40.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4225, allocations: 0 / 428.4 MB, free: 40.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00213/0.4246, allocations: 431.7 kB / 428.8 MB, free: 40.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.4248, allocations: 59.41 kB / 428.8 MB, free: 40.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004187/0.429, allocations: 2.509 MB / 431.3 MB, free: 39.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003194/0.4294, allocations: 34.89 kB / 431.4 MB, free: 39.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.4294, allocations: 15.86 kB / 431.4 MB, free: 39.02 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 (33): * Single equations (assignments): 32 * 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 {(4,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.4296, allocations: 136.2 kB / 431.5 MB, free: 38.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-05/0.4296, allocations: 24.22 kB / 431.6 MB, free: 38.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001976/0.4316, allocations: 0.6963 MB / 432.2 MB, free: 38.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.4316, allocations: 3.766 kB / 432.3 MB, free: 38.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.4317, allocations: 3.156 kB / 432.3 MB, free: 38.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4317, allocations: 7.422 kB / 432.3 MB, free: 38.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.432, allocations: 399.3 kB / 432.7 MB, free: 38.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.432, allocations: 0.875 kB / 432.7 MB, free: 38.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.4321, allocations: 33.41 kB / 432.7 MB, free: 38.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002015/0.4342, allocations: 425 kB / 433.1 MB, free: 38.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.4342, allocations: 11.28 kB / 433.1 MB, free: 38.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003354/0.4376, allocations: 2.47 MB / 435.6 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4376, allocations: 3.938 kB / 435.6 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.4394, allocations: 0.7403 MB / 436.3 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.4395, allocations: 109.1 kB / 436.4 MB, free: 36.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.4395, allocations: 5.75 kB / 436.4 MB, free: 36.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.4398, allocations: 25.38 kB / 436.5 MB, free: 36.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.4399, allocations: 20.2 kB / 436.5 MB, free: 36.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.4399, allocations: 14.02 kB / 436.5 MB, free: 36.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.44, allocations: 160.9 kB / 436.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.44, allocations: 1.75 kB / 436.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004516/0.4405, allocations: 111.6 kB / 436.8 MB, free: 36.39 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 (22): * Single equations (assignments): 21 * 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 {(4,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001864/0.4407, allocations: 129.9 kB / 436.9 MB, free: 36.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.442, allocations: 0.6105 MB / 437.5 MB, free: 35.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.442, allocations: 0 / 437.5 MB, free: 35.97 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008529/0.4428, allocations: 399.4 kB / 437.9 MB, free: 35.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.4432, allocations: 22.14 kB / 437.9 MB, free: 35.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007311/0.4439, allocations: 0.6176 MB / 438.5 MB, free: 35.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.4441, allocations: 0.7457 MB / 439.3 MB, free: 34.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001184/0.4442, allocations: 38.97 kB / 439.3 MB, free: 34.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.757e-05/0.4443, allocations: 26.89 kB / 439.3 MB, free: 34.63 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4443, allocations: 3.156 kB / 439.3 MB, free: 34.63 MB / 350.1 MB Notification: Performance of Templates: time 0.009364/0.4537, allocations: 6.569 MB / 445.9 MB, free: 34.22 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1) Environment - environmentSimulation: