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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.001044/0.001044, allocations: 106.9 kB / 17.07 MB, free: 6.062 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.001024/0.001024, allocations: 196 kB / 18.01 MB, free: 5.148 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.492/1.492, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05046/0.05046, allocations: 8.092 MB / 300 MB, free: 6.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 59.91 kB / 363.2 MB, free: 7.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2253, allocations: 51.51 MB / 414.7 MB, free: 25.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad): time 0.002324/0.2277, allocations: 1.567 MB / 416.3 MB, free: 23.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.2291, allocations: 1.555 MB / 417.8 MB, free: 22.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.487e-05/0.2292, allocations: 4 kB / 417.8 MB, free: 22.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.2296, allocations: 127.3 kB / 417.9 MB, free: 22.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.2298, allocations: 115.2 kB / 418 MB, free: 22.06 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.001226/0.231, allocations: 0.9141 MB / 419 MB, free: 21.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.2313, allocations: 254.8 kB / 419.2 MB, free: 20.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.2314, allocations: 80.22 kB / 419.3 MB, free: 20.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.231e-05/0.2315, allocations: 99.64 kB / 419.4 MB, free: 20.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.2317, allocations: 135.4 kB / 419.5 MB, free: 20.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.2317, allocations: 20 kB / 419.5 MB, free: 20.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.232, allocations: 203.8 kB / 419.7 MB, free: 20.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.922e-05/0.232, allocations: 55.77 kB / 419.8 MB, free: 20.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.562e-05/0.2321, allocations: 107.5 kB / 419.9 MB, free: 20.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003488/0.2325, allocations: 408.5 kB / 420.3 MB, free: 19.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2325, allocations: 0 / 420.3 MB, free: 19.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2325, allocations: 4 kB / 420.3 MB, free: 19.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.2325, allocations: 0 / 420.3 MB, free: 19.8 MB / 302.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.002131/0.2346, allocations: 0.8108 MB / 421.1 MB, free: 18.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.2347, allocations: 8.031 kB / 421.1 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.248e-05/0.2347, allocations: 32.66 kB / 421.1 MB, free: 18.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.235, allocations: 252.7 kB / 421.4 MB, free: 18.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.235, allocations: 16.38 kB / 421.4 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.2351, allocations: 16.38 kB / 421.4 MB, free: 18.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/0.2354, allocations: 269.7 kB / 421.7 MB, free: 18.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2354, allocations: 192 / 421.7 MB, free: 18.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.2355, allocations: 11.88 kB / 421.7 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.2355, allocations: 4 kB / 421.7 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.2358, allocations: 255.8 kB / 422 MB, free: 18.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.2369, allocations: 1.14 MB / 423.1 MB, free: 16.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003733/0.2373, allocations: 304.8 kB / 423.4 MB, free: 16.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.2375, allocations: 161.3 kB / 423.6 MB, free: 16.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.77e-05/0.2376, allocations: 8.219 kB / 423.6 MB, free: 16.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003113/0.2379, allocations: 219.5 kB / 423.8 MB, free: 16.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.965e-06/0.2379, allocations: 3.938 kB / 423.8 MB, free: 16.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002504/0.2404, allocations: 0.9326 MB / 424.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.2405, allocations: 55.41 kB / 424.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.2406, allocations: 183.4 kB / 424.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.2406, allocations: 37.7 kB / 425 MB, free: 14.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.2407, allocations: 120.9 kB / 425.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.507e-05/0.2407, allocations: 98.56 kB / 425.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.333e-05/0.2408, allocations: 61.69 kB / 425.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.655e-05/0.2409, allocations: 338.8 kB / 425.6 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.2411, allocations: 148 kB / 425.7 MB, free: 14.03 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.2413, allocations: 186.9 kB / 425.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/0.2417, allocations: 358.5 kB / 426.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2417, allocations: 0 / 426.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001408/0.2432, allocations: 0.6575 MB / 426.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.2432, allocations: 8 kB / 426.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2432, allocations: 0 / 426.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/0.2446, allocations: 336.5 kB / 427.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.2448, allocations: 55.91 kB / 427.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003109/0.2479, allocations: 2.628 MB / 429.9 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.2481, allocations: 23.75 kB / 430 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.2482, allocations: 15.98 kB / 430 MB, free: 9.605 MB / 302.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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.2483, allocations: 137.8 kB / 430.1 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.2483, allocations: 19.75 kB / 430.1 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.2498, allocations: 0.6603 MB / 430.8 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2498, allocations: 7.938 kB / 430.8 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.2498, allocations: 0 / 430.8 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2498, allocations: 3.984 kB / 430.8 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.2501, allocations: 389.2 kB / 431.2 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2501, allocations: 3.938 kB / 431.2 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.2502, allocations: 52.03 kB / 431.2 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001312/0.2516, allocations: 336.4 kB / 431.6 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.2516, allocations: 12 kB / 431.6 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002884/0.2545, allocations: 2.617 MB / 434.2 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2545, allocations: 0 / 434.2 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.2558, allocations: 0.6267 MB / 434.8 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.2559, allocations: 108.7 kB / 434.9 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.2559, allocations: 4 kB / 434.9 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.2561, allocations: 15.98 kB / 435 MB, free: 4.391 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.2562, allocations: 23.97 kB / 435 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.2562, allocations: 19.92 kB / 435 MB, free: 4.348 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.028e-05/0.2563, allocations: 131.8 kB / 435.1 MB, free: 4.219 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2563, allocations: 0 / 435.1 MB, free: 4.219 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000378/0.2567, allocations: 92 kB / 435.2 MB, free: 4.129 MB / 302.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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001607/0.2568, allocations: 123.3 kB / 435.3 MB, free: 3.996 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.258, allocations: 0.6193 MB / 436 MB, free: 3.363 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2581, allocations: 4.062 kB / 436 MB, free: 3.359 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008166/0.2589, allocations: 434.4 kB / 436.4 MB, free: 2.922 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.2592, allocations: 34.69 kB / 436.4 MB, free: 2.891 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007176/0.2599, allocations: 0.5153 MB / 436.9 MB, free: 2.359 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.26, allocations: 0.7454 MB / 437.7 MB, free: 1.586 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000101/0.2602, allocations: 29.92 kB / 437.7 MB, free: 1.559 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.2602, allocations: 31.42 kB / 437.7 MB, free: 1.527 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2602, allocations: 0 / 437.7 MB, free: 1.527 MB / 302.1 MB Notification: Performance of Templates: time 0.01029/0.2705, allocations: 5.895 MB / 443.6 MB, free: 11.65 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.makefile (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 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe 2>&1)