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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 102.4 kB / 18.36 MB, free: 3.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 186 kB / 21.54 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 250.2 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.07775/0.07775, allocations: 8.238 MB / 313.5 MB, free: 1.766 MB / 238.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002776/0.002776, allocations: 63.89 kB / 437.3 MB, free: 9.609 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3379, allocations: 54.35 MB / 491.7 MB, free: 27.6 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad): time 0.002343/0.3403, allocations: 1.588 MB / 493.3 MB, free: 26.37 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.342, allocations: 1.575 MB / 494.8 MB, free: 25.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.331e-05/0.3421, allocations: 4.125 kB / 494.8 MB, free: 25.1 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003612/0.3424, allocations: 124.6 kB / 495 MB, free: 25.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.3427, allocations: 113.1 kB / 495.1 MB, free: 24.93 MB / 366.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.001385/0.3441, allocations: 0.9318 MB / 496 MB, free: 24.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.3444, allocations: 258 kB / 496.3 MB, free: 24.08 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.3445, allocations: 52.42 kB / 496.3 MB, free: 24.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.745e-05/0.3446, allocations: 101.4 kB / 496.4 MB, free: 24 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.3448, allocations: 139.5 kB / 496.5 MB, free: 23.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.3448, allocations: 20.09 kB / 496.6 MB, free: 23.9 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003616/0.3452, allocations: 197.2 kB / 496.8 MB, free: 23.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.3453, allocations: 51.39 kB / 496.8 MB, free: 23.78 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.3454, allocations: 119.6 kB / 496.9 MB, free: 23.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004813/0.3459, allocations: 397.8 kB / 497.3 MB, free: 23.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3459, allocations: 5.125 kB / 497.3 MB, free: 23.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3459, allocations: 0 / 497.3 MB, free: 23.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.3459, allocations: 0 / 497.3 MB, free: 23.44 MB / 366.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.002449/0.3483, allocations: 0.8264 MB / 498.1 MB, free: 22.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3484, allocations: 13.59 kB / 498.2 MB, free: 22.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.422e-05/0.3485, allocations: 26.11 kB / 498.2 MB, free: 22.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.3487, allocations: 261.7 kB / 498.4 MB, free: 22.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.3488, allocations: 11.53 kB / 498.4 MB, free: 22.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.3488, allocations: 21.75 kB / 498.5 MB, free: 22.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.3492, allocations: 261.4 kB / 498.7 MB, free: 22.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3492, allocations: 192 / 498.7 MB, free: 22.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.3492, allocations: 13.83 kB / 498.7 MB, free: 22.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3493, allocations: 4.094 kB / 498.7 MB, free: 22.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003457/0.3496, allocations: 257.5 kB / 499 MB, free: 22.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.3508, allocations: 1.139 MB / 0.4884 GB, free: 21.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003915/0.3512, allocations: 272.3 kB / 0.4887 GB, free: 20.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.3514, allocations: 140.5 kB / 0.4888 GB, free: 20.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.024e-05/0.3514, allocations: 8.781 kB / 0.4888 GB, free: 20.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003732/0.3518, allocations: 215.9 kB / 0.489 GB, free: 20.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.503e-06/0.3518, allocations: 0 / 0.489 GB, free: 20.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002716/0.3545, allocations: 0.9254 MB / 0.4899 GB, free: 20.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.3546, allocations: 53.53 kB / 0.49 GB, free: 20.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.3547, allocations: 193 kB / 0.4902 GB, free: 19.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.3547, allocations: 32.02 kB / 0.4902 GB, free: 19.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.683e-05/0.3548, allocations: 128.1 kB / 0.4903 GB, free: 19.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.824e-05/0.3549, allocations: 98.81 kB / 0.4904 GB, free: 19.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.355, allocations: 64.55 kB / 0.4905 GB, free: 19.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.628e-05/0.355, allocations: 331.5 kB / 0.4908 GB, free: 19.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.3553, allocations: 153.8 kB / 0.4909 GB, free: 19.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.3555, allocations: 183.9 kB / 0.4911 GB, free: 19.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/0.356, allocations: 368.8 kB / 0.4915 GB, free: 18.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.356, allocations: 0 / 0.4915 GB, free: 18.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001579/0.3575, allocations: 0.6363 MB / 0.4921 GB, free: 18.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.3576, allocations: 7.156 kB / 0.4921 GB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3576, allocations: 1.219 kB / 0.4921 GB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001608/0.3592, allocations: 338.2 kB / 0.4924 GB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.3594, allocations: 54.31 kB / 0.4925 GB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003908/0.3633, allocations: 2.641 MB / 0.495 GB, free: 16.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.3636, allocations: 28.05 kB / 0.4951 GB, free: 16.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.3636, allocations: 12.66 kB / 0.4951 GB, free: 16.11 MB / 366.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.0001451/0.3637, allocations: 141.2 kB / 0.4952 GB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/0.3638, allocations: 25.67 kB / 0.4952 GB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/0.3654, allocations: 0.6402 MB / 0.4959 GB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.3654, allocations: 12.48 kB / 0.4959 GB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.3654, allocations: 0 / 0.4959 GB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3654, allocations: 0 / 0.4959 GB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.3658, allocations: 396.1 kB / 0.4962 GB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3658, allocations: 0 / 0.4962 GB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.366, allocations: 49.34 kB / 0.4963 GB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001439/0.3674, allocations: 332 kB / 0.4966 GB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.3674, allocations: 10.12 kB / 0.4966 GB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003132/0.3706, allocations: 2.621 MB / 0.4992 GB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3706, allocations: 1.062 kB / 0.4992 GB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.372, allocations: 0.6227 MB / 0.4998 GB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.3721, allocations: 103.5 kB / 0.4999 GB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.3721, allocations: 10.48 kB / 0.4999 GB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.3723, allocations: 16.84 kB / 0.4999 GB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.152e-05/0.3724, allocations: 27.58 kB / 0.4999 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.3724, allocations: 11.47 kB / 0.5 GB, free: 12.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001026/0.3725, allocations: 128.5 kB / 0.5001 GB, free: 12.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3725, allocations: 0 / 0.5001 GB, free: 12.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004114/0.3729, allocations: 94.92 kB / 0.5002 GB, free: 12.16 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: 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.000195/0.3731, allocations: 114.6 kB / 0.5003 GB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.3744, allocations: 0.5994 MB / 0.5009 GB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3744, allocations: 3.938 kB / 0.5009 GB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008944/0.3753, allocations: 423.5 kB / 0.5013 GB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.3756, allocations: 27.36 kB / 0.5013 GB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.3766, allocations: 0.5161 MB / 0.5018 GB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.3768, allocations: 0.7435 MB / 0.5025 GB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.3769, allocations: 36.44 kB / 0.5026 GB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.294e-05/0.377, allocations: 26 kB / 0.5026 GB, free: 10.3 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.377, allocations: 0 / 0.5026 GB, free: 10.3 MB / 366.1 MB Notification: Performance of Templates: time 0.009349/0.3863, allocations: 6.15 MB / 0.5086 GB, free: 5.914 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.035270540975034]