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.0009404/0.0009404, allocations: 103 kB / 16.07 MB, free: 32 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.00116/0.00116, allocations: 181.8 kB / 16.96 MB, free: 6.875 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.564/1.564, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2242/0.2242, allocations: 8.083 MB / 300.2 MB, free: 2.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004087/0.0004087, allocations: 8.281 kB / 363.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1164, allocations: 52.52 MB / 416 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.001794/0.1182, allocations: 1.251 MB / 417.3 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.1203, allocations: 1.516 MB / 418.8 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.859e-05/0.1204, allocations: 8 kB / 418.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003325/0.1207, allocations: 107.6 kB / 418.9 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.121, allocations: 99.42 kB / 419 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.1225, allocations: 0.8602 MB / 419.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003285/0.1228, allocations: 238.8 kB / 420.1 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.123, allocations: 64.11 kB / 420.1 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.084e-05/0.1231, allocations: 87.58 kB / 420.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.1233, allocations: 111.5 kB / 420.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.1233, allocations: 8 kB / 420.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003378/0.1237, allocations: 203.8 kB / 420.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.055e-05/0.1237, allocations: 35.84 kB / 420.6 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.1238, allocations: 125.1 kB / 420.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.1243, allocations: 379.1 kB / 421.1 MB, free: 3.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1243, allocations: 0 / 421.1 MB, free: 3.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1243, allocations: 0 / 421.1 MB, free: 3.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.1243, allocations: 0 / 421.1 MB, free: 3.312 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.002309/0.1266, allocations: 0.7761 MB / 421.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.1267, allocations: 12.03 kB / 421.9 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.336e-05/0.1268, allocations: 28.59 kB / 421.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.1271, allocations: 252.4 kB / 422.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.1271, allocations: 12.7 kB / 422.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.911e-05/0.1272, allocations: 20.38 kB / 422.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004497/0.1277, allocations: 264.3 kB / 422.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1277, allocations: 192 / 422.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.713e-05/0.1277, allocations: 11.94 kB / 422.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1277, allocations: 4 kB / 422.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003867/0.1281, allocations: 247.9 kB / 422.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.1297, allocations: 1.125 MB / 423.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006528/0.1304, allocations: 314.4 kB / 424.1 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2453/0.3757, allocations: 155.3 kB / 424.3 MB, free: 41.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.75e-05/0.3758, allocations: 9.125 kB / 424.3 MB, free: 41.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.3758, allocations: 36.25 kB / 424.3 MB, free: 41.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 3.607e-06/0.3759, allocations: 0 / 424.3 MB, free: 41.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003263/0.3791, allocations: 0.9653 MB / 425.3 MB, free: 41.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.3792, allocations: 54.12 kB / 425.3 MB, free: 41.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.3794, allocations: 194.1 kB / 425.5 MB, free: 41.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.3794, allocations: 32.89 kB / 425.5 MB, free: 41.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.52e-05/0.3795, allocations: 129.6 kB / 425.7 MB, free: 41.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.982e-05/0.3796, allocations: 87.84 kB / 425.8 MB, free: 41.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-05/0.3797, allocations: 32.22 kB / 425.8 MB, free: 41.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.201e-05/0.3797, allocations: 336.3 kB / 426.1 MB, free: 40.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.38, allocations: 158.7 kB / 426.3 MB, free: 40.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.3802, allocations: 158.6 kB / 426.4 MB, free: 40.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000443/0.3806, allocations: 349.2 kB / 426.8 MB, free: 40.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3806, allocations: 0 / 426.8 MB, free: 40.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001353/0.382, allocations: 0.6366 MB / 427.4 MB, free: 40.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.382, allocations: 7.625 kB / 427.4 MB, free: 40.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.382, allocations: 2.344 kB / 427.4 MB, free: 40.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.3834, allocations: 327.5 kB / 427.7 MB, free: 40.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.3835, allocations: 46.8 kB / 427.8 MB, free: 40.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003755/0.3873, allocations: 2.545 MB / 430.3 MB, free: 39.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.3875, allocations: 25.97 kB / 430.3 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.3876, allocations: 6.594 kB / 430.4 MB, free: 39.48 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 (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 {(6,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001836/0.3878, allocations: 137.3 kB / 430.5 MB, free: 39.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.729e-05/0.3878, allocations: 23.73 kB / 430.5 MB, free: 39.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/0.3896, allocations: 0.6162 MB / 431.1 MB, free: 39.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3896, allocations: 13.59 kB / 431.1 MB, free: 39.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.3896, allocations: 3.219 kB / 431.1 MB, free: 39.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3896, allocations: 1.453 kB / 431.1 MB, free: 39.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.3899, allocations: 384.7 kB / 431.5 MB, free: 39.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3899, allocations: 0.625 kB / 431.5 MB, free: 39.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.185e-05/0.39, allocations: 28.52 kB / 431.6 MB, free: 39.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001254/0.3913, allocations: 316.3 kB / 431.9 MB, free: 39.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.3913, allocations: 6.594 kB / 431.9 MB, free: 39.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003307/0.3946, allocations: 2.517 MB / 434.4 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3946, allocations: 3.031 kB / 434.4 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.396, allocations: 0.6734 MB / 435.1 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.3961, allocations: 98.86 kB / 435.2 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.3961, allocations: 7 kB / 435.2 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.3963, allocations: 14.27 kB / 435.2 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.3964, allocations: 26.47 kB / 435.2 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.3964, allocations: 14.31 kB / 435.2 MB, free: 37.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.3965, allocations: 144 kB / 435.4 MB, free: 37.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3965, allocations: 0 / 435.4 MB, free: 37.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004527/0.397, allocations: 96.03 kB / 435.5 MB, free: 37.01 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 (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 {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002163/0.3972, allocations: 122.2 kB / 435.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.3985, allocations: 0.6111 MB / 436.2 MB, free: 36.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3985, allocations: 0 / 436.2 MB, free: 36.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008486/0.3993, allocations: 428.4 kB / 436.6 MB, free: 36.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.3997, allocations: 25.67 kB / 436.6 MB, free: 36.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008249/0.4005, allocations: 0.5966 MB / 437.2 MB, free: 35.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.4008, allocations: 0.7498 MB / 438 MB, free: 35.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.4009, allocations: 29.89 kB / 438 MB, free: 35.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.062e-05/0.4009, allocations: 24.83 kB / 438 MB, free: 35.27 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4009, allocations: 2.719 kB / 438 MB, free: 35.27 MB / 350.1 MB Notification: Performance of Templates: time 0.00923/0.4102, allocations: 5.464 MB / 443.5 MB, free: 34.92 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: