Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.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.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") translateModel(PowerSysPro.Examples.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009076/0.0009078, allocations: 95.53 kB / 15.74 MB, free: 420 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.0009631/0.0009631, allocations: 174.4 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.476/1.476, allocations: 223.3 MB / 240.7 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2303/0.2303, allocations: 8.089 MB / 299.8 MB, free: 2.922 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.0003974, allocations: 8 kB / 362.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1211, allocations: 52.52 MB / 415.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.001893/0.1231, allocations: 1.32 MB / 416.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.1248, allocations: 1.287 MB / 418 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.603e-05/0.1249, allocations: 4 kB / 418 MB, free: 6.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.1251, allocations: 63.69 kB / 418 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.1254, allocations: 87.5 kB / 418.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008397/0.1262, allocations: 358.9 kB / 418.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.1264, allocations: 195 kB / 418.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.1267, allocations: 89.75 kB / 418.8 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.961e-05/0.1268, allocations: 83.64 kB / 418.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.127, allocations: 131.5 kB / 419 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.127, allocations: 8 kB / 419 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002328/0.1273, allocations: 107.9 kB / 419.1 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/0.1273, allocations: 39.83 kB / 419.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.076e-05/0.1274, allocations: 61.58 kB / 419.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.1277, allocations: 239.6 kB / 419.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.1277, allocations: 4 kB / 419.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1277, allocations: 3.938 kB / 419.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.1277, allocations: 0 / 419.4 MB, free: 4.664 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001514/0.1292, allocations: 0.6239 MB / 420 MB, free: 3.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1293, allocations: 8.031 kB / 420.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.87e-05/0.1293, allocations: 27.67 kB / 420.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.1296, allocations: 200.9 kB / 420.3 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.1296, allocations: 12.56 kB / 420.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.1296, allocations: 24 kB / 420.3 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004384/0.1301, allocations: 287.5 kB / 420.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1301, allocations: 7.875 kB / 420.6 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.1301, allocations: 8 kB / 420.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.1301, allocations: 15.95 kB / 420.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.1305, allocations: 237.3 kB / 420.9 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.1321, allocations: 0.9722 MB / 421.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007144/0.1329, allocations: 370.5 kB / 422.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.133, allocations: 89.7 kB / 422.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.224e-05/0.1331, allocations: 11.97 kB / 422.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.1331, allocations: 38.56 kB / 422.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.222e-06/0.1331, allocations: 0 / 422.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001134/0.1343, allocations: 0.5168 MB / 422.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.1343, allocations: 81.06 kB / 422.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.1346, allocations: 198.5 kB / 423.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.1346, allocations: 29.7 kB / 423.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.6e-05/0.1347, allocations: 152.2 kB / 423.3 MB, free: 492 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.116e-05/0.1348, allocations: 74.91 kB / 423.4 MB, free: 416 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.24e-05/0.1348, allocations: 7.938 kB / 423.4 MB, free: 408 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003005/0.1351, allocations: 326.8 kB / 423.7 MB, free: 72 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2598/0.3949, allocations: 80.23 kB / 423.8 MB, free: 41.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/0.3953, allocations: 123.3 kB / 423.9 MB, free: 41.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.3956, allocations: 97.12 kB / 424 MB, free: 41.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.3957, allocations: 2.844 kB / 424 MB, free: 41.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001127/0.3968, allocations: 335.1 kB / 424.3 MB, free: 41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/0.3969, allocations: 4.719 kB / 424.3 MB, free: 41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.3969, allocations: 1.125 kB / 424.3 MB, free: 41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000647/0.3975, allocations: 79.36 kB / 424.4 MB, free: 40.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.3978, allocations: 44 kB / 424.4 MB, free: 40.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/0.4, allocations: 2.67 MB / 427.1 MB, free: 38.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.4003, allocations: 18.97 kB / 427.1 MB, free: 38.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.4004, allocations: 14.58 kB / 427.1 MB, free: 38.49 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001866/0.4006, allocations: 133.3 kB / 427.3 MB, free: 38.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.864e-05/0.4007, allocations: 23.61 kB / 427.3 MB, free: 38.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006178/0.4013, allocations: 306.1 kB / 427.6 MB, free: 38.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4013, allocations: 0 / 427.6 MB, free: 38.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.4013, allocations: 3.25 kB / 427.6 MB, free: 38.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.4013, allocations: 1.312 kB / 427.6 MB, free: 38.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.4023, allocations: 0.5567 MB / 428.2 MB, free: 38.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4024, allocations: 0 / 428.2 MB, free: 38.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.4025, allocations: 26.59 kB / 428.2 MB, free: 38.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003779/0.4029, allocations: 79.22 kB / 428.3 MB, free: 37.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.4029, allocations: 6.312 kB / 428.3 MB, free: 37.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/0.4049, allocations: 2.667 MB / 430.9 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4049, allocations: 9.984 kB / 430.9 MB, free: 35.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006464/0.4055, allocations: 421.8 kB / 431.4 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.108e-05/0.4056, allocations: 106.1 kB / 431.5 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.4057, allocations: 7.219 kB / 431.5 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.406, allocations: 18.84 kB / 431.5 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.4061, allocations: 19.11 kB / 431.5 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.4061, allocations: 3.375 kB / 431.5 MB, free: 35.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001844/0.4063, allocations: 155.4 kB / 431.7 MB, free: 35.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4063, allocations: 4 kB / 431.7 MB, free: 35.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007412/0.407, allocations: 73.44 kB / 431.7 MB, free: 35.04 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002358/0.4073, allocations: 114.8 kB / 431.8 MB, free: 34.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008813/0.4082, allocations: 458.9 kB / 432.3 MB, free: 34.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4082, allocations: 0 / 432.3 MB, free: 34.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004702/0.4087, allocations: 331.2 kB / 432.6 MB, free: 34.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006819/0.4094, allocations: 26.84 kB / 432.6 MB, free: 34.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008267/0.4102, allocations: 0.4888 MB / 433.1 MB, free: 34.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.4104, allocations: 0.7424 MB / 433.9 MB, free: 33.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000209/0.4106, allocations: 38.16 kB / 433.9 MB, free: 33.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.944e-05/0.4107, allocations: 20.75 kB / 433.9 MB, free: 33.47 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4107, allocations: 0 / 433.9 MB, free: 33.47 MB / 350.1 MB Notification: Performance of Templates: time 0.008257/0.419, allocations: 2.839 MB / 436.8 MB, free: 33.3 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe 2>&1) Environment - environmentSimulation: