Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") translateModel(PowerSysPro.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 107.2 kB / 16.45 MB, free: 6.395 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.001327/0.001327, allocations: 186.4 kB / 17.39 MB, free: 5.645 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.362/1.362, allocations: 222.9 MB / 241.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05521/0.0552, allocations: 8.109 MB / 299.3 MB, free: 6.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.91 kB / 414.5 MB, free: 21.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1237, allocations: 51.52 MB / 466 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002446/0.1262, allocations: 1.15 MB / 467.1 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.1281, allocations: 1.438 MB / 468.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.8e-05/0.1282, allocations: 4 kB / 468.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003629/0.1286, allocations: 107.4 kB / 468.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.1288, allocations: 75.53 kB / 468.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.1301, allocations: 0.7538 MB / 469.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.1304, allocations: 143.3 kB / 469.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.1306, allocations: 49.08 kB / 469.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.343e-05/0.1306, allocations: 55.78 kB / 469.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.849e-05/0.1307, allocations: 67.75 kB / 469.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.1308, allocations: 15.98 kB / 469.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003134/0.1311, allocations: 151.8 kB / 470 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.3e-05/0.1311, allocations: 31.91 kB / 470 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.658e-05/0.1312, allocations: 63.67 kB / 470.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003713/0.1316, allocations: 267.2 kB / 470.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1316, allocations: 4 kB / 470.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1316, allocations: 0 / 470.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.1316, allocations: 0 / 470.3 MB, free: 13.75 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001496/0.1331, allocations: 0.5811 MB / 470.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.1332, allocations: 15.97 kB / 470.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.1332, allocations: 16.75 kB / 471 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.1335, allocations: 204.1 kB / 471.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.1335, allocations: 8.609 kB / 471.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.1335, allocations: 20.31 kB / 471.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.1339, allocations: 176 kB / 471.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1339, allocations: 4.172 kB / 471.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.1339, allocations: 7.938 kB / 471.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1339, allocations: 4 kB / 471.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.1342, allocations: 152.6 kB / 471.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009405/0.1351, allocations: 0.5676 MB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.1354, allocations: 158.5 kB / 472.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.1355, allocations: 65.05 kB / 472.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.106e-05/0.1356, allocations: 15.97 kB / 472.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.1356, allocations: 34.56 kB / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.1356, allocations: 0 / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001037/0.1367, allocations: 379.4 kB / 472.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.1367, allocations: 59.33 kB / 472.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.1369, allocations: 176.6 kB / 473 MB, free: 10.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.1369, allocations: 25.7 kB / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.137, allocations: 128.1 kB / 473.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.1371, allocations: 39.39 kB / 473.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.044e-05/0.1372, allocations: 49.59 kB / 473.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1373, allocations: 326.8 kB / 473.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.1374, allocations: 87.97 kB / 473.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.1376, allocations: 87.97 kB / 473.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.1378, allocations: 191.7 kB / 473.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1379, allocations: 0 / 473.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005323/0.1384, allocations: 310.1 kB / 474.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1384, allocations: 4 kB / 474.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1384, allocations: 0 / 474.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003035/0.1387, allocations: 44.83 kB / 474.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.1389, allocations: 39.97 kB / 474.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.1404, allocations: 1.543 MB / 475.8 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.1405, allocations: 11.78 kB / 475.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.1406, allocations: 12 kB / 475.8 MB, free: 7.859 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 (22): * Single equations (assignments): 21 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001261/0.1407, allocations: 129.7 kB / 476 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.1407, allocations: 15.81 kB / 476 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004982/0.1413, allocations: 247.2 kB / 476.2 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1413, allocations: 0 / 476.2 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1413, allocations: 4 kB / 476.2 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1413, allocations: 3.984 kB / 476.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.1415, allocations: 261.4 kB / 476.5 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1416, allocations: 0 / 476.5 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/0.1416, allocations: 23.92 kB / 476.5 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002078/0.1419, allocations: 60.75 kB / 476.6 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.1419, allocations: 0 / 476.6 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.1432, allocations: 1.527 MB / 478.1 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1432, allocations: 0 / 478.1 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004578/0.1437, allocations: 308.2 kB / 478.4 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.1437, allocations: 96.94 kB / 478.5 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.1437, allocations: 0 / 478.5 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.1439, allocations: 11.69 kB / 478.5 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.1439, allocations: 11.98 kB / 478.5 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.1439, allocations: 0 / 478.5 MB, free: 4.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.1441, allocations: 137.5 kB / 478.6 MB, free: 4.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1441, allocations: 0 / 478.6 MB, free: 4.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003463/0.1444, allocations: 52 kB / 478.7 MB, free: 4.758 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 (12): * Single equations (assignments): 11 * 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): 1 system {(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.0002421/0.1447, allocations: 119.2 kB / 478.8 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006649/0.1453, allocations: 322.5 kB / 479.1 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1453, allocations: 0 / 479.1 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003459/0.1457, allocations: 198.6 kB / 479.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.146, allocations: 12 kB / 479.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006674/0.1466, allocations: 298.3 kB / 479.6 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.147, allocations: 0.7122 MB / 480.3 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.336e-05/0.147, allocations: 20.62 kB / 480.4 MB, free: 3.004 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.212e-05/0.1471, allocations: 15.44 kB / 480.4 MB, free: 2.992 MB / 350.1 MB Notification: Performance of SimCode: time 1.883e-06/0.1471, allocations: 3.938 kB / 480.4 MB, free: 2.988 MB / 350.1 MB Notification: Performance of Templates: time 0.00527/0.1524, allocations: 2.156 MB / 482.5 MB, free: 0.8398 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1)