Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.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.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") translateModel(PowerSysPro.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 107.5 kB / 16.45 MB, free: 6.449 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.001265/0.001265, allocations: 192.2 kB / 17.39 MB, free: 5.668 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.452/1.452, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05876/0.05876, allocations: 8.104 MB / 299.3 MB, free: 6.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 64.14 kB / 414.4 MB, free: 21.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1368, allocations: 51.52 MB / 466 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.002485/0.1394, allocations: 0.9327 MB / 466.9 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.1411, allocations: 1.15 MB / 468 MB, free: 100 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.517e-05/0.1412, allocations: 0 / 468 MB, free: 100 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.1415, allocations: 63.7 kB / 468.1 MB, free: 36 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.1417, allocations: 23.84 kB / 468.1 MB, free: 12 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/0.1419, allocations: 39.83 kB / 468.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.808e-05/0.142, allocations: 51.73 kB / 468.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.1421, allocations: 35.95 kB / 468.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.954e-05/0.1422, allocations: 23.92 kB / 468.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.991e-05/0.1422, allocations: 23.86 kB / 468.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.1423, allocations: 4 kB / 468.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.1424, allocations: 71.91 kB / 468.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/0.1425, allocations: 7.984 kB / 468.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.1425, allocations: 35.8 kB / 468.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.1427, allocations: 111.6 kB / 468.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1428, allocations: 0 / 468.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1428, allocations: 0 / 468.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1428, allocations: 0 / 468.5 MB, free: 15.61 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007015/0.1435, allocations: 379.3 kB / 468.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1435, allocations: 8.031 kB / 468.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.1436, allocations: 12.84 kB / 468.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.1437, allocations: 168.3 kB / 469.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.1437, allocations: 8.312 kB / 469.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.1438, allocations: 8.312 kB / 469.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.1439, allocations: 78.23 kB / 469.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.144, allocations: 192 / 469.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.144, allocations: 7.922 kB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.144, allocations: 4 kB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.041e-05/0.1441, allocations: 39.98 kB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.1446, allocations: 356.5 kB / 469.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.651e-05/0.1447, allocations: 22.52 kB / 469.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/0.1447, allocations: 12.92 kB / 469.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/0.1449, allocations: 85.09 kB / 469.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.1449, allocations: 30.56 kB / 469.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1449, allocations: 0 / 469.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001509/0.1451, allocations: 45.7 kB / 469.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.1451, allocations: 55.34 kB / 469.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.1452, allocations: 113.8 kB / 469.9 MB, free: 14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.1452, allocations: 33.62 kB / 470 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/0.1453, allocations: 111.9 kB / 470.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.1453, allocations: 15.89 kB / 470.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.1454, allocations: 17.66 kB / 470.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1455, allocations: 318.8 kB / 470.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.75e-05/0.1455, allocations: 16.12 kB / 470.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.093e-05/0.1455, allocations: 8 kB / 470.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.589e-05/0.1456, allocations: 28.84 kB / 470.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1456, allocations: 0 / 470.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001068/0.1457, allocations: 69.59 kB / 470.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.1457, allocations: 10.5 kB / 470.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1457, allocations: 0 / 470.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1458, allocations: 3.984 kB / 470.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1459, allocations: 19.86 kB / 470.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1459, allocations: 0 / 470.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.707e-05/0.1459, allocations: 7.938 kB / 470.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.146, allocations: 4 kB / 470.6 MB, free: 13.31 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.659e-05/0.146, allocations: 113.8 kB / 470.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.1461, allocations: 7.906 kB / 470.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.1462, allocations: 49.17 kB / 470.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1462, allocations: 3.938 kB / 470.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1462, allocations: 0 / 470.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1463, allocations: 0 / 470.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.1464, allocations: 173.9 kB / 470.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1464, allocations: 7.938 kB / 470.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.35e-05/0.1465, allocations: 8 kB / 470.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1465, allocations: 0 / 470.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.1465, allocations: 3.938 kB / 470.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1465, allocations: 8.234 kB / 470.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1465, allocations: 0 / 470.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.1466, allocations: 131.6 kB / 471.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.1468, allocations: 85.12 kB / 471.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.1468, allocations: 0 / 471.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.01e-05/0.1469, allocations: 7.938 kB / 471.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.125e-05/0.1469, allocations: 0 / 471.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.1469, allocations: 0 / 471.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.767e-05/0.1469, allocations: 99.25 kB / 471.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1469, allocations: 0 / 471.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.1472, allocations: 15.91 kB / 471.3 MB, free: 12.51 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001493/0.1473, allocations: 111.1 kB / 471.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.1475, allocations: 23.98 kB / 471.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1475, allocations: 0 / 471.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.296e-05/0.1475, allocations: 8 kB / 471.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.1477, allocations: 0 / 471.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/0.148, allocations: 163 kB / 471.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.1484, allocations: 0.6844 MB / 472.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.824e-05/0.1484, allocations: 4 kB / 472.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.1484, allocations: 7.438 kB / 472.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1484, allocations: 4 kB / 472.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Templates: time 0.002881/0.1513, allocations: 0.5593 MB / 472.8 MB, free: 10.89 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OneSource.makefile (rm -f PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneSource.sim & ./PowerSysPro_PowerSysPro.Tests.OneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1)