Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009468/0.0009469, allocations: 96.75 kB / 15.73 MB, free: 440 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.001056/0.001056, allocations: 181.9 kB / 16.61 MB, free: 6.422 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.366/1.366, allocations: 223.2 MB / 240.6 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2165/0.2165, allocations: 8.084 MB / 299.7 MB, free: 2.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003434, allocations: 12 kB / 362.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1263, allocations: 52.51 MB / 415.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.00152/0.1279, allocations: 0.8455 MB / 416.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.1301, allocations: 1.404 MB / 417.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.1303, allocations: 0 / 417.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003979/0.1308, allocations: 87.53 kB / 417.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004156/0.1312, allocations: 95.7 kB / 417.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.1329, allocations: 0.8213 MB / 418.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003489/0.1332, allocations: 111.8 kB / 418.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.1334, allocations: 37.7 kB / 418.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.1335, allocations: 55.78 kB / 418.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.1337, allocations: 71.73 kB / 418.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.1337, allocations: 8 kB / 418.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004872/0.1342, allocations: 191.7 kB / 419 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.315e-05/0.1342, allocations: 23.91 kB / 419 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.535e-05/0.1343, allocations: 57.64 kB / 419.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000408/0.1347, allocations: 219.7 kB / 419.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.1347, allocations: 0 / 419.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1347, allocations: 0 / 419.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1347, allocations: 0 / 419.3 MB, free: 4.715 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.002318/0.1371, allocations: 0.7095 MB / 420 MB, free: 3.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.1371, allocations: 8.031 kB / 420 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.624e-05/0.1372, allocations: 19.77 kB / 420 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.1375, allocations: 214.9 kB / 420.2 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.1376, allocations: 12.22 kB / 420.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.1376, allocations: 16 kB / 420.2 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00037/0.138, allocations: 205.3 kB / 420.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.138, allocations: 0 / 420.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.82e-05/0.1381, allocations: 8 kB / 420.5 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.1381, allocations: 4 kB / 420.5 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.1383, allocations: 156.6 kB / 420.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.1397, allocations: 0.7417 MB / 421.4 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000479/0.1402, allocations: 194.5 kB / 421.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.662e-05/0.1403, allocations: 11.98 kB / 421.6 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.1403, allocations: 38.56 kB / 421.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.724e-06/0.1403, allocations: 0 / 421.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001932/0.1423, allocations: 0.5812 MB / 422.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.1423, allocations: 85.11 kB / 422.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.1425, allocations: 174.6 kB / 422.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.1426, allocations: 29.7 kB / 422.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.899e-05/0.1427, allocations: 124.3 kB / 422.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.978e-05/0.1427, allocations: 55.2 kB / 422.6 MB, free: 1.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/0.1428, allocations: 4 kB / 422.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1429, allocations: 322.8 kB / 423 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.143, allocations: 99.95 kB / 423.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.1432, allocations: 137.5 kB / 423.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.1434, allocations: 108 kB / 423.3 MB, free: 428 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1434, allocations: 0 / 423.3 MB, free: 428 kB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001026/0.1445, allocations: 418.1 kB / 423.7 MB, free: 0 / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.2515/0.3959, allocations: 6.297 kB / 423.7 MB, free: 40.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.396, allocations: 0 / 423.7 MB, free: 40.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.3972, allocations: 204.4 kB / 423.9 MB, free: 40.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.3974, allocations: 39.39 kB / 423.9 MB, free: 40.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/0.3999, allocations: 1.859 MB / 425.8 MB, free: 39.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.4001, allocations: 26.88 kB / 425.8 MB, free: 39.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.4001, allocations: 7.5 kB / 425.8 MB, free: 39.74 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 (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: 0 * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.4003, allocations: 133.1 kB / 426 MB, free: 39.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.4003, allocations: 17.97 kB / 426 MB, free: 39.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.4013, allocations: 385.9 kB / 426.4 MB, free: 39.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.4014, allocations: 4.812 kB / 426.4 MB, free: 39.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.4014, allocations: 0.5 kB / 426.4 MB, free: 39.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4014, allocations: 5.266 kB / 426.4 MB, free: 39.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.4016, allocations: 298.3 kB / 426.7 MB, free: 39.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4017, allocations: 5.391 kB / 426.7 MB, free: 39.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.4018, allocations: 28 kB / 426.7 MB, free: 39.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009152/0.4027, allocations: 200.5 kB / 426.9 MB, free: 39.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.4027, allocations: 4.266 kB / 426.9 MB, free: 39.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/0.4046, allocations: 1.829 MB / 428.7 MB, free: 38.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4046, allocations: 0.8906 kB / 428.7 MB, free: 38.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008978/0.4055, allocations: 454.9 kB / 429.2 MB, free: 37.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.4056, allocations: 99.83 kB / 429.3 MB, free: 37.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.4056, allocations: 0.8438 kB / 429.3 MB, free: 37.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.4058, allocations: 21.09 kB / 429.3 MB, free: 37.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.4059, allocations: 12.95 kB / 429.3 MB, free: 37.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.4059, allocations: 6.312 kB / 429.3 MB, free: 37.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.754e-05/0.406, allocations: 130.5 kB / 429.4 MB, free: 37.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.406, allocations: 0 / 429.4 MB, free: 37.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003682/0.4064, allocations: 61.23 kB / 429.5 MB, free: 37.79 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 (15): * Single equations (assignments): 14 * 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: 0 * Non-linear torn systems: 1 {3 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.000174/0.4065, allocations: 122 kB / 429.6 MB, free: 37.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009114/0.4075, allocations: 424.3 kB / 430 MB, free: 37.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4075, allocations: 2.625 kB / 430 MB, free: 37.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005081/0.408, allocations: 282.1 kB / 430.3 MB, free: 37.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.4082, allocations: 14.78 kB / 430.3 MB, free: 37.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005338/0.4088, allocations: 441.2 kB / 430.7 MB, free: 37.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.4089, allocations: 0.7276 MB / 431.5 MB, free: 36.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.369e-05/0.409, allocations: 21.05 kB / 431.5 MB, free: 36.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.409, allocations: 20.38 kB / 431.5 MB, free: 36.5 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.409, allocations: 0 / 431.5 MB, free: 36.5 MB / 350.1 MB Notification: Performance of Templates: time 0.006218/0.4153, allocations: 3.708 MB / 435.2 MB, free: 36.3 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1) Environment - environmentSimulation: