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.001013/0.001013, allocations: 104.6 kB / 16.03 MB, free: 6.277 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.00105/0.00105, allocations: 195 kB / 16.95 MB, free: 6.098 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.398/1.398, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05789/0.05789, allocations: 8.095 MB / 298.9 MB, free: 6.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.91 kB / 361.2 MB, free: 8.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.27, allocations: 51.51 MB / 412.7 MB, free: 25.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad): time 0.002381/0.2725, allocations: 1.62 MB / 414.3 MB, free: 24.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.2742, allocations: 1.532 MB / 415.9 MB, free: 22.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.113e-05/0.2743, allocations: 4 kB / 415.9 MB, free: 22.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003606/0.2747, allocations: 107.5 kB / 416 MB, free: 22.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.275, allocations: 107.4 kB / 416.1 MB, free: 22.41 MB / 302.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.001326/0.2763, allocations: 0.8601 MB / 417 MB, free: 21.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.2766, allocations: 250.8 kB / 417.2 MB, free: 21.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.2768, allocations: 80.22 kB / 417.3 MB, free: 21.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.947e-05/0.2769, allocations: 95.7 kB / 417.4 MB, free: 21.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.277, allocations: 131.4 kB / 417.5 MB, free: 20.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.2771, allocations: 20 kB / 417.5 MB, free: 20.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003156/0.2774, allocations: 207.8 kB / 417.7 MB, free: 20.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.902e-05/0.2774, allocations: 51.77 kB / 417.8 MB, free: 20.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.029e-05/0.2775, allocations: 115.4 kB / 417.9 MB, free: 20.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.278, allocations: 404.8 kB / 418.3 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.278, allocations: 0 / 418.3 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.278, allocations: 0 / 418.3 MB, free: 20.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.278, allocations: 0 / 418.3 MB, free: 20.21 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.002196/0.2802, allocations: 0.8147 MB / 419.1 MB, free: 19.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2802, allocations: 8.031 kB / 419.1 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.375e-05/0.2803, allocations: 24.66 kB / 419.1 MB, free: 19.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.2805, allocations: 253.6 kB / 419.4 MB, free: 19.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.2806, allocations: 16.38 kB / 419.4 MB, free: 19.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.2806, allocations: 24.38 kB / 419.4 MB, free: 18.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.281, allocations: 265.6 kB / 419.7 MB, free: 18.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.281, allocations: 4.188 kB / 419.7 MB, free: 18.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.281, allocations: 11.94 kB / 419.7 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.281, allocations: 4 kB / 419.7 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.2813, allocations: 247.8 kB / 419.9 MB, free: 18.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.2824, allocations: 1.152 MB / 421.1 MB, free: 17.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.2828, allocations: 295.2 kB / 421.4 MB, free: 16.87 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.283, allocations: 169.3 kB / 421.5 MB, free: 16.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.379e-05/0.283, allocations: 8.234 kB / 421.5 MB, free: 16.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003524/0.2834, allocations: 223.5 kB / 421.8 MB, free: 16.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.513e-06/0.2834, allocations: 0 / 421.8 MB, free: 16.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002449/0.2859, allocations: 0.9254 MB / 422.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.2859, allocations: 51.41 kB / 422.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.2861, allocations: 199 kB / 422.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.2861, allocations: 29.7 kB / 423 MB, free: 15.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.2862, allocations: 124.9 kB / 423.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.475e-05/0.2862, allocations: 98.55 kB / 423.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.765e-05/0.2863, allocations: 57.7 kB / 423.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.352e-05/0.2864, allocations: 330.8 kB / 423.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.2866, allocations: 148 kB / 423.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.2868, allocations: 191.1 kB / 423.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.2873, allocations: 358.3 kB / 424.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2873, allocations: 0 / 424.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001387/0.2887, allocations: 0.6537 MB / 424.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2887, allocations: 6.5 kB / 424.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.2887, allocations: 4.031 kB / 424.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.2902, allocations: 344.5 kB / 425.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.2904, allocations: 51.91 kB / 425.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003351/0.2937, allocations: 2.638 MB / 427.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.294, allocations: 27.75 kB / 428 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.294, allocations: 15.98 kB / 428 MB, free: 10.01 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.0001698/0.2942, allocations: 137.8 kB / 428.1 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.2943, allocations: 23.75 kB / 428.1 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.2958, allocations: 0.6604 MB / 428.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.2958, allocations: 7.938 kB / 428.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-06/0.2958, allocations: 0 / 428.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2958, allocations: 3.984 kB / 428.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.2961, allocations: 385.2 kB / 429.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2961, allocations: 4 kB / 429.2 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.2963, allocations: 47.91 kB / 429.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001349/0.2976, allocations: 340.7 kB / 429.6 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.2976, allocations: 4 kB / 429.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002932/0.3006, allocations: 2.625 MB / 432.2 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.3006, allocations: 0 / 432.2 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.302, allocations: 0.6347 MB / 432.8 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.302, allocations: 104.7 kB / 432.9 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.3021, allocations: 8 kB / 432.9 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.3023, allocations: 11.98 kB / 433 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.954e-05/0.3024, allocations: 27.97 kB / 433 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.3024, allocations: 15.98 kB / 433 MB, free: 4.746 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.999e-05/0.3025, allocations: 127.2 kB / 433.1 MB, free: 4.621 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3025, allocations: 0 / 433.1 MB, free: 4.621 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004381/0.303, allocations: 95.98 kB / 433.2 MB, free: 4.527 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.0002065/0.3032, allocations: 119.3 kB / 433.3 MB, free: 4.398 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.3045, allocations: 0.636 MB / 434 MB, free: 3.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3045, allocations: 0 / 434 MB, free: 3.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008497/0.3054, allocations: 442.4 kB / 434.4 MB, free: 3.305 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.3057, allocations: 47.05 kB / 434.4 MB, free: 3.262 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008019/0.3065, allocations: 0.5759 MB / 435 MB, free: 2.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.3067, allocations: 0.7493 MB / 435.8 MB, free: 1.887 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001469/0.3068, allocations: 33.91 kB / 435.8 MB, free: 1.855 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.928e-05/0.3069, allocations: 27.44 kB / 435.8 MB, free: 1.828 MB / 302.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3069, allocations: 0 / 435.8 MB, free: 1.828 MB / 302.1 MB Notification: Performance of Templates: time 0.009756/0.3167, allocations: 5.877 MB / 441.7 MB, free: 11.97 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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe 2>&1)