Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.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.OneEmergencySourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001057, allocations: 100.3 kB / 15.73 MB, free: 436 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.001344/0.001344, allocations: 177 kB / 16.61 MB, free: 6.562 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.271/1.271, allocations: 223.2 MB / 240.6 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2057/0.2057, allocations: 8.088 MB / 299.8 MB, free: 2.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003694, allocations: 8 kB / 362.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.122, allocations: 52.51 MB / 415.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad): time 0.001614/0.1237, allocations: 1.103 MB / 416.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.1256, allocations: 1.47 MB / 417.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.046e-05/0.1256, allocations: 4 kB / 417.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.1259, allocations: 87.53 kB / 417.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.1262, allocations: 119.6 kB / 418.1 MB, free: 5.945 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:34:7-34:67:writable] Warning: In relation pv.rampTime == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.1275, allocations: 0.7475 MB / 418.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002897/0.1278, allocations: 167.6 kB / 419 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.128, allocations: 60.09 kB / 419 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.188e-05/0.1281, allocations: 83.7 kB / 419.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.1283, allocations: 123.5 kB / 419.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.1283, allocations: 12 kB / 419.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002731/0.1286, allocations: 159.8 kB / 419.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.89e-05/0.1286, allocations: 39.83 kB / 419.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.332e-05/0.1287, allocations: 65.58 kB / 419.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.129, allocations: 275.5 kB / 419.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.129, allocations: 4 kB / 419.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.129, allocations: 0 / 419.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1291, allocations: 0 / 419.8 MB, free: 4.219 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.002257/0.1313, allocations: 0.7833 MB / 420.6 MB, free: 3.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1314, allocations: 8.031 kB / 420.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.424e-05/0.1314, allocations: 31.67 kB / 420.6 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.1318, allocations: 251.5 kB / 420.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.1318, allocations: 19.78 kB / 420.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.063e-05/0.1319, allocations: 20 kB / 420.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004549/0.1323, allocations: 257.3 kB / 421.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1323, allocations: 0 / 421.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.1324, allocations: 8 kB / 421.1 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.1324, allocations: 7.953 kB / 421.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003624/0.1328, allocations: 255.6 kB / 421.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.1342, allocations: 1.16 MB / 422.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.1347, allocations: 295.2 kB / 422.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.909e-05/0.1347, allocations: 8.234 kB / 422.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003794/0.1351, allocations: 215.5 kB / 423.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.473e-06/0.1351, allocations: 0 / 423.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.2086/0.3437, allocations: 0.918 MB / 424 MB, free: 41.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.3438, allocations: 53.06 kB / 424 MB, free: 41.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.344, allocations: 189.7 kB / 424.2 MB, free: 41.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.977e-05/0.3441, allocations: 32.83 kB / 424.2 MB, free: 41.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/0.3441, allocations: 128.2 kB / 424.4 MB, free: 41.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.52e-05/0.3442, allocations: 93.11 kB / 424.5 MB, free: 41.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.956e-05/0.3442, allocations: 7.375 kB / 424.5 MB, free: 41.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.01e-05/0.3443, allocations: 339.7 kB / 424.8 MB, free: 40.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.3445, allocations: 149.1 kB / 424.9 MB, free: 40.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.3448, allocations: 181.9 kB / 425.1 MB, free: 40.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.345, allocations: 162.1 kB / 425.3 MB, free: 40.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.345, allocations: 0 / 425.3 MB, free: 40.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001516/0.3465, allocations: 0.6462 MB / 425.9 MB, free: 40.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.3466, allocations: 6.688 kB / 425.9 MB, free: 40.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.3466, allocations: 3.406 kB / 425.9 MB, free: 40.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/0.3482, allocations: 351 kB / 426.3 MB, free: 40.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.3485, allocations: 50.09 kB / 426.3 MB, free: 40.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003498/0.352, allocations: 2.49 MB / 428.8 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.3522, allocations: 25.47 kB / 428.8 MB, free: 39.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/0.3523, allocations: 13.03 kB / 428.9 MB, free: 39.39 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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 {6 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001796/0.3525, allocations: 141.7 kB / 429 MB, free: 39.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.3525, allocations: 20.36 kB / 429 MB, free: 39.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.3541, allocations: 0.6525 MB / 429.7 MB, free: 39.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3541, allocations: 3.406 kB / 429.7 MB, free: 39.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3541, allocations: 10.47 kB / 429.7 MB, free: 39.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3542, allocations: 0 / 429.7 MB, free: 39.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.3545, allocations: 392 kB / 430.1 MB, free: 38.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3545, allocations: 0.8125 kB / 430.1 MB, free: 38.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.3547, allocations: 39.77 kB / 430.1 MB, free: 38.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001454/0.3561, allocations: 340.4 kB / 430.4 MB, free: 38.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/0.3562, allocations: 11.45 kB / 430.4 MB, free: 38.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003245/0.3594, allocations: 2.461 MB / 432.9 MB, free: 37.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3594, allocations: 7.953 kB / 432.9 MB, free: 37.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.361, allocations: 0.6289 MB / 433.5 MB, free: 37.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.3611, allocations: 102.5 kB / 433.6 MB, free: 37.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.3611, allocations: 7 kB / 433.7 MB, free: 37.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.3614, allocations: 22.22 kB / 433.7 MB, free: 37.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.921e-05/0.3615, allocations: 28.62 kB / 433.7 MB, free: 37.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.3615, allocations: 13.23 kB / 433.7 MB, free: 37.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.3616, allocations: 131.5 kB / 433.8 MB, free: 37.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3616, allocations: 0 / 433.8 MB, free: 37.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004523/0.3621, allocations: 90.66 kB / 433.9 MB, free: 37.36 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * 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 {6 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002349/0.3623, allocations: 124.3 kB / 434.1 MB, free: 37.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.3636, allocations: 0.6127 MB / 434.7 MB, free: 36.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3636, allocations: 3.719 kB / 434.7 MB, free: 36.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000871/0.3645, allocations: 433.6 kB / 435.1 MB, free: 36.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.3647, allocations: 24.58 kB / 435.1 MB, free: 36.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007925/0.3655, allocations: 0.5859 MB / 435.7 MB, free: 36.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.3657, allocations: 0.756 MB / 436.5 MB, free: 35.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000119/0.3658, allocations: 33.39 kB / 436.5 MB, free: 35.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.743e-05/0.3659, allocations: 23.95 kB / 436.5 MB, free: 35.64 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3659, allocations: 3.406 kB / 436.5 MB, free: 35.64 MB / 350.1 MB Notification: Performance of Templates: time 0.008301/0.3742, allocations: 5.222 MB / 441.7 MB, free: 35.29 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe 2>&1) Environment - environmentSimulation: