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.001522/0.001522, allocations: 99.06 kB / 16.44 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 192 kB / 17.38 MB, free: 5.715 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.384/1.384, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04891/0.04891, allocations: 8.104 MB / 299.3 MB, free: 6.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001222, allocations: 67.91 kB / 414.5 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1312, allocations: 51.51 MB / 466 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.003496/0.1348, allocations: 1.739 MB / 467.7 MB, free: 436 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003254/0.1381, allocations: 1.341 MB / 469.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004213/0.1385, allocations: 4 kB / 469.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005692/0.1391, allocations: 99.42 kB / 469.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000483/0.1396, allocations: 99.3 kB / 469.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.1408, allocations: 454 kB / 469.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003902/0.1412, allocations: 222.9 kB / 469.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.1415, allocations: 118.4 kB / 470 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.1416, allocations: 99.58 kB / 470.1 MB, free: 14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.1419, allocations: 147.4 kB / 470.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.252e-05/0.142, allocations: 20 kB / 470.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003351/0.1423, allocations: 123.9 kB / 470.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.792e-05/0.1424, allocations: 55.77 kB / 470.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.1425, allocations: 115.4 kB / 470.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004938/0.143, allocations: 334.9 kB / 470.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.143, allocations: 0 / 470.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.143, allocations: 0 / 470.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.1431, allocations: 0 / 470.9 MB, free: 13.22 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.001822/0.1449, allocations: 0.6553 MB / 471.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.1449, allocations: 15.95 kB / 471.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.022e-05/0.145, allocations: 24.66 kB / 471.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.1453, allocations: 210.7 kB / 471.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.1453, allocations: 20.94 kB / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.1453, allocations: 20.38 kB / 471.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/0.1459, allocations: 296 kB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1459, allocations: 4.125 kB / 472.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.1459, allocations: 11.94 kB / 472.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.146, allocations: 4 kB / 472.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003623/0.1463, allocations: 245.3 kB / 472.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.1478, allocations: 0.9605 MB / 473.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007847/0.1486, allocations: 374.4 kB / 473.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.1488, allocations: 85.7 kB / 473.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.791e-05/0.1488, allocations: 11.98 kB / 473.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.1489, allocations: 38.67 kB / 473.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.542e-06/0.1489, allocations: 0 / 473.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001187/0.1501, allocations: 0.5208 MB / 474.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.1501, allocations: 85.11 kB / 474.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.1503, allocations: 194.6 kB / 474.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.1504, allocations: 29.7 kB / 474.7 MB, free: 9.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.469e-05/0.1505, allocations: 155.9 kB / 474.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.271e-05/0.1505, allocations: 67 kB / 474.9 MB, free: 8.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-05/0.1506, allocations: 49.7 kB / 475 MB, free: 8.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1508, allocations: 330.8 kB / 475.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.1509, allocations: 83.97 kB / 475.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.1511, allocations: 127.4 kB / 475.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.1514, allocations: 215.3 kB / 475.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1514, allocations: 0 / 475.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006087/0.152, allocations: 334.9 kB / 476 MB, free: 7.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.152, allocations: 11.98 kB / 476 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.152, allocations: 0 / 476 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004015/0.1524, allocations: 69.66 kB / 476.1 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.1526, allocations: 55.91 kB / 476.2 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/0.1551, allocations: 2.883 MB / 479 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.1553, allocations: 23.69 kB / 479.1 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.1553, allocations: 11.98 kB / 479.1 MB, free: 4.406 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000163/0.1555, allocations: 141.9 kB / 479.2 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/0.1556, allocations: 20.19 kB / 479.2 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006232/0.1562, allocations: 292.3 kB / 479.5 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1562, allocations: 4 kB / 479.5 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1562, allocations: 0 / 479.5 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1563, allocations: 4 kB / 479.5 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000746/0.157, allocations: 0.5654 MB / 480.1 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.157, allocations: 0 / 480.1 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.1571, allocations: 27.98 kB / 480.1 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002923/0.1574, allocations: 73.66 kB / 480.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.1575, allocations: 4 kB / 480.2 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002179/0.1596, allocations: 2.871 MB / 483.1 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1597, allocations: 4.031 kB / 483.1 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005707/0.1602, allocations: 428.8 kB / 483.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.835e-05/0.1603, allocations: 100.8 kB / 483.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.1603, allocations: 4 kB / 483.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.1606, allocations: 15.92 kB / 483.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.1606, allocations: 19.97 kB / 483.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.1606, allocations: 8 kB / 483.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001836/0.1608, allocations: 152.2 kB / 483.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1608, allocations: 0 / 483.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004296/0.1613, allocations: 75.84 kB / 483.9 MB, free: 15.21 MB / 366.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002255/0.1615, allocations: 106.4 kB / 484 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008206/0.1623, allocations: 469 kB / 484.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1624, allocations: 3.938 kB / 484.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004569/0.1628, allocations: 333.4 kB / 484.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005144/0.1634, allocations: 39.27 kB / 484.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000768/0.1641, allocations: 427.7 kB / 485.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.1645, allocations: 0.7363 MB / 485.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001309/0.1646, allocations: 29.53 kB / 486 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.641e-05/0.1647, allocations: 19.42 kB / 486 MB, free: 12.97 MB / 366.1 MB Notification: Performance of SimCode: time 2.094e-06/0.1647, allocations: 0 / 486 MB, free: 12.97 MB / 366.1 MB Notification: Performance of Templates: time 0.007686/0.1724, allocations: 3.101 MB / 489.1 MB, free: 9.887 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.makefile (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)