Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.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.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") translateModel(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 96.7 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.00125/0.00125, allocations: 172.2 kB / 16.62 MB, free: 6.887 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.477/1.477, allocations: 223.3 MB / 240.7 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.216/0.216, allocations: 8.085 MB / 299.8 MB, free: 2.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003284, allocations: 8 kB / 362.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1171, allocations: 52.52 MB / 415.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.001898/0.119, allocations: 1.359 MB / 416.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.1211, allocations: 1.404 MB / 418.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.1214, allocations: 4 kB / 418.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004029/0.1218, allocations: 91.58 kB / 418.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003613/0.1222, allocations: 83.52 kB / 418.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.1236, allocations: 0.7476 MB / 419.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.124, allocations: 215 kB / 419.3 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.1242, allocations: 85.62 kB / 419.4 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.1244, allocations: 79.66 kB / 419.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.1246, allocations: 131.5 kB / 419.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.151e-05/0.1246, allocations: 12 kB / 419.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004518/0.1251, allocations: 187.8 kB / 419.8 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.366e-05/0.1252, allocations: 39.78 kB / 419.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.671e-05/0.1252, allocations: 61.58 kB / 419.9 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.1257, allocations: 291.5 kB / 420.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1257, allocations: 3.938 kB / 420.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1257, allocations: 0 / 420.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1257, allocations: 0 / 420.1 MB, free: 3.949 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002122/0.1278, allocations: 0.7255 MB / 420.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.1279, allocations: 8.031 kB / 420.9 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.128, allocations: 31.61 kB / 420.9 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.1283, allocations: 238.7 kB / 421.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.1283, allocations: 20.56 kB / 421.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.408e-05/0.1284, allocations: 24 kB / 421.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005068/0.1289, allocations: 296.8 kB / 421.5 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1289, allocations: 0 / 421.5 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.129, allocations: 16 kB / 421.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.129, allocations: 4 kB / 421.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004627/0.1294, allocations: 294.1 kB / 421.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.1309, allocations: 0.8891 MB / 422.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005034/0.1315, allocations: 290.5 kB / 422.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.1317, allocations: 128.8 kB / 423.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.553e-05/0.1317, allocations: 11.98 kB / 423.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.1318, allocations: 35 kB / 423.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.753e-06/0.1318, allocations: 0 / 423.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001128/0.1329, allocations: 0.5187 MB / 423.6 MB, free: 256 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.1329, allocations: 63.28 kB / 423.7 MB, free: 180 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.1332, allocations: 163.6 kB / 423.9 MB, free: 8 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.2358/0.369, allocations: 30.02 kB / 423.9 MB, free: 41.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.3692, allocations: 143.5 kB / 424 MB, free: 41.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.331e-05/0.3693, allocations: 94.39 kB / 424.1 MB, free: 41.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.3693, allocations: 4.188 kB / 424.1 MB, free: 41.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.596e-05/0.3694, allocations: 329.7 kB / 424.4 MB, free: 40.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.3696, allocations: 126.7 kB / 424.6 MB, free: 40.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.3698, allocations: 129.5 kB / 424.7 MB, free: 40.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.3701, allocations: 144.7 kB / 424.8 MB, free: 40.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.3701, allocations: 0 / 424.8 MB, free: 40.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007214/0.3708, allocations: 406.4 kB / 425.2 MB, free: 40.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.3708, allocations: 5.844 kB / 425.2 MB, free: 40.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.3709, allocations: 3.25 kB / 425.2 MB, free: 40.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002976/0.3712, allocations: 53.69 kB / 425.3 MB, free: 40.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.3715, allocations: 60.72 kB / 425.4 MB, free: 40.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.3728, allocations: 1.437 MB / 426.8 MB, free: 39.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.373, allocations: 19.19 kB / 426.8 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.373, allocations: 11.03 kB / 426.8 MB, free: 39.41 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 (35): * Single equations (assignments): 34 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001699/0.3732, allocations: 135 kB / 427 MB, free: 39.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.3732, allocations: 17.52 kB / 427 MB, free: 39.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006569/0.3739, allocations: 354.2 kB / 427.3 MB, free: 39.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3739, allocations: 3.062 kB / 427.3 MB, free: 39.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3739, allocations: 0 / 427.3 MB, free: 39.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.3739, allocations: 2.391 kB / 427.3 MB, free: 39.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003698/0.3743, allocations: 361.5 kB / 427.7 MB, free: 39.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3743, allocations: 1.312 kB / 427.7 MB, free: 39.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.3745, allocations: 48.23 kB / 427.7 MB, free: 39.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001738/0.3746, allocations: 56.06 kB / 427.8 MB, free: 39.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.3747, allocations: 8.719 kB / 427.8 MB, free: 39.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.3757, allocations: 1.426 MB / 429.2 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3757, allocations: 5.094 kB / 429.2 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005537/0.3763, allocations: 406.4 kB / 429.6 MB, free: 37.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.3763, allocations: 92.53 kB / 429.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.3764, allocations: 8.875 kB / 429.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.3765, allocations: 3.438 kB / 429.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.3766, allocations: 21.86 kB / 429.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.3766, allocations: 6.75 kB / 429.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.3767, allocations: 127.4 kB / 429.9 MB, free: 37.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3767, allocations: 0 / 429.9 MB, free: 37.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00044/0.3771, allocations: 87.7 kB / 430 MB, free: 37.43 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 (25): * Single equations (assignments): 24 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002539/0.3774, allocations: 120.2 kB / 430.1 MB, free: 37.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000804/0.3782, allocations: 417.1 kB / 430.5 MB, free: 37.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3782, allocations: 0 / 430.5 MB, free: 37.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003856/0.3786, allocations: 264.7 kB / 430.7 MB, free: 37.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.3789, allocations: 10.16 kB / 430.8 MB, free: 37.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009879/0.3799, allocations: 0.5469 MB / 431.3 MB, free: 36.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.3802, allocations: 0.7453 MB / 432 MB, free: 36.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001439/0.3803, allocations: 28.94 kB / 432.1 MB, free: 36.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.368e-05/0.3804, allocations: 26.41 kB / 432.1 MB, free: 36.11 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3804, allocations: 0 / 432.1 MB, free: 36.11 MB / 350.1 MB Notification: Performance of Templates: time 0.00593/0.3864, allocations: 2.502 MB / 434.6 MB, free: 35.95 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1) Environment - environmentSimulation: