Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 84.19 kB / 15.75 MB, free: 416 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.001738/0.001738, allocations: 177 kB / 16.63 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.426/1.426, allocations: 223.3 MB / 240.7 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1967/0.1967, allocations: 8.086 MB / 299.9 MB, free: 2.836 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004182/0.0004186, allocations: 12 kB / 362.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1201, allocations: 52.51 MB / 415.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.00131/0.1214, allocations: 0.5551 MB / 415.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.1232, allocations: 1.24 MB / 417.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.307e-05/0.1233, allocations: 0 / 417.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.1235, allocations: 47.77 kB / 417.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.1237, allocations: 35.83 kB / 417.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006564/0.1244, allocations: 283.1 kB / 417.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.644e-05/0.1245, allocations: 59.67 kB / 417.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.1246, allocations: 27.95 kB / 417.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.576e-05/0.1247, allocations: 31.84 kB / 417.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.1248, allocations: 39.84 kB / 417.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.1248, allocations: 4 kB / 417.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.1251, allocations: 91.89 kB / 417.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.402e-05/0.1251, allocations: 19.91 kB / 417.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.1251, allocations: 33.7 kB / 417.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.1254, allocations: 108 kB / 417.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.1254, allocations: 0 / 417.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1254, allocations: 0 / 417.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1254, allocations: 0 / 417.9 MB, free: 6.168 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001012/0.1264, allocations: 419 kB / 418.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.759e-05/0.1265, allocations: 16.03 kB / 418.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.351e-05/0.1266, allocations: 15.8 kB / 418.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.1268, allocations: 174.9 kB / 418.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.1269, allocations: 8 kB / 418.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.1269, allocations: 4 kB / 418.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.1271, allocations: 93.59 kB / 418.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1271, allocations: 0 / 418.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.1272, allocations: 4 kB / 418.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.1272, allocations: 4 kB / 418.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.1273, allocations: 71.92 kB / 418.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007582/0.1281, allocations: 388.6 kB / 419.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003743/0.1285, allocations: 106.7 kB / 419.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.435e-05/0.1286, allocations: 36.8 kB / 419.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.24e-05/0.1286, allocations: 4 kB / 419.2 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.1287, allocations: 34.56 kB / 419.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 3.777e-06/0.1287, allocations: 0 / 419.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006417/0.1293, allocations: 235.5 kB / 419.5 MB, free: 4.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.1294, allocations: 51.41 kB / 419.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.1295, allocations: 145.9 kB / 419.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1296, allocations: 37.69 kB / 419.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.672e-05/0.1296, allocations: 92.3 kB / 419.8 MB, free: 4.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.1297, allocations: 31.62 kB / 419.9 MB, free: 4.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.1297, allocations: 0 / 419.9 MB, free: 4.008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1298, allocations: 318.8 kB / 420.2 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.893e-05/0.1299, allocations: 35.92 kB / 420.2 MB, free: 3.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.729e-05/0.1299, allocations: 31.98 kB / 420.2 MB, free: 3.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.695e-05/0.13, allocations: 36 kB / 420.3 MB, free: 3.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.13, allocations: 7.953 kB / 420.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000251/0.1303, allocations: 138.4 kB / 420.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1303, allocations: 11.98 kB / 420.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1303, allocations: 288 / 420.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002522/0.1306, allocations: 32.84 kB / 420.5 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.372e-05/0.1307, allocations: 11.98 kB / 420.5 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.1319, allocations: 1.339 MB / 421.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.386e-05/0.132, allocations: 11.97 kB / 421.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.132, allocations: 4.156 kB / 421.8 MB, free: 1.887 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 (9): * Single equations (assignments): 8 * 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 9.897e-05/0.1321, allocations: 118.3 kB / 421.9 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.1321, allocations: 11.84 kB / 422 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.1324, allocations: 130.8 kB / 422.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1324, allocations: 4 kB / 422.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.1325, allocations: 0 / 422.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1325, allocations: 0 / 422.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.1327, allocations: 213.5 kB / 422.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1327, allocations: 0 / 422.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-05/0.1328, allocations: 4 kB / 422.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001385/0.1329, allocations: 40.77 kB / 422.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.1329, allocations: 0 / 422.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.134, allocations: 1.323 MB / 423.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.134, allocations: 3.984 kB / 423.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.1343, allocations: 220.8 kB / 423.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.882e-05/0.1344, allocations: 92.94 kB / 424 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.1344, allocations: 4 kB / 424 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1345, allocations: 8 kB / 424 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.1346, allocations: 15.94 kB / 424 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.1346, allocations: 0 / 424 MB, free: 15.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.227e-05/0.1347, allocations: 111.3 kB / 424.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1347, allocations: 0 / 424.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002996/0.135, allocations: 28 kB / 424.1 MB, free: 15.33 MB / 366.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 (6): * Single equations (assignments): 5 * 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.0002397/0.1352, allocations: 111.2 kB / 424.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003901/0.1356, allocations: 198.6 kB / 424.4 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1356, allocations: 4 kB / 424.4 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.1358, allocations: 150.6 kB / 424.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.1362, allocations: 15.08 kB / 424.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004209/0.1366, allocations: 250 kB / 424.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.1369, allocations: 0.6887 MB / 425.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.634e-05/0.1369, allocations: 12.64 kB / 425.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.137, allocations: 15.44 kB / 425.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.137, allocations: 0 / 425.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of Templates: time 0.004106/0.1411, allocations: 1.392 MB / 427 MB, free: 12.43 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1) Environment - environmentSimulation: