Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.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.001352/0.001352, allocations: 101.8 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.001533/0.001533, 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.487/1.487, allocations: 225.6 MB / 250.2 MB, free: 3.152 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.06687/0.06687, allocations: 8.237 MB / 313.5 MB, free: 1.77 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.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 63.89 kB / 437.3 MB, free: 9.578 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2895, allocations: 54.36 MB / 491.7 MB, free: 27.55 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad): time 0.00311/0.2926, allocations: 2.464 MB / 494.2 MB, free: 25.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.2948, allocations: 1.736 MB / 495.9 MB, free: 24.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.2949, allocations: 5.5 kB / 495.9 MB, free: 24.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003851/0.2953, allocations: 157.9 kB / 496 MB, free: 24.1 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000414/0.2957, allocations: 216.9 kB / 496.3 MB, free: 23.92 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.2973, allocations: 1.035 MB / 497.3 MB, free: 23.15 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004972/0.2978, allocations: 483.9 kB / 497.8 MB, free: 22.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.2979, allocations: 117.2 kB / 497.9 MB, free: 22.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.2981, allocations: 192.4 kB / 498.1 MB, free: 22.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.2983, allocations: 250 kB / 498.3 MB, free: 22.51 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.946e-05/0.2984, allocations: 44.16 kB / 498.4 MB, free: 22.51 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003945/0.2988, allocations: 260.5 kB / 498.6 MB, free: 22.4 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.738e-05/0.2989, allocations: 92.38 kB / 498.7 MB, free: 22.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.299, allocations: 233.5 kB / 498.9 MB, free: 22.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006257/0.2996, allocations: 0.6537 MB / 499.6 MB, free: 21.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2996, allocations: 0 / 499.6 MB, free: 21.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.2996, allocations: 0 / 499.6 MB, free: 21.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.2997, allocations: 1.219 kB / 499.6 MB, free: 21.71 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.003302/0.303, allocations: 1.191 MB / 0.489 GB, free: 20.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.303, allocations: 13.16 kB / 0.489 GB, free: 20.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002712/0.3033, allocations: 61.7 kB / 0.4891 GB, free: 20.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.3037, allocations: 364.9 kB / 0.4895 GB, free: 20.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.3037, allocations: 27.16 kB / 0.4895 GB, free: 20.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.121e-05/0.3038, allocations: 35.59 kB / 0.4895 GB, free: 20.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006758/0.3045, allocations: 461.2 kB / 0.49 GB, free: 20.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.3045, allocations: 1.344 kB / 0.49 GB, free: 20.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.3045, allocations: 19.22 kB / 0.49 GB, free: 20.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.3045, allocations: 6.875 kB / 0.49 GB, free: 20.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006249/0.3052, allocations: 450.2 kB / 0.4904 GB, free: 19.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/0.3072, allocations: 1.98 MB / 0.4923 GB, free: 18.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009695/0.3082, allocations: 0.6353 MB / 0.493 GB, free: 17.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003432/0.3085, allocations: 263.3 kB / 0.4932 GB, free: 17.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.699e-05/0.3086, allocations: 14.08 kB / 0.4932 GB, free: 17.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000582/0.3092, allocations: 463.3 kB / 0.4937 GB, free: 17.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=50): time 2.154e-06/0.3092, allocations: 5.438 kB / 0.4937 GB, free: 17.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.00552/0.3147, allocations: 1.777 MB / 0.4954 GB, free: 16.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.3147, allocations: 197.2 kB / 0.4956 GB, free: 15.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.3151, allocations: 310.5 kB / 0.4959 GB, free: 15.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.3151, allocations: 41.86 kB / 0.4959 GB, free: 15.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.596e-05/0.3152, allocations: 171.9 kB / 0.4961 GB, free: 15.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.3153, allocations: 166.6 kB / 0.4963 GB, free: 15.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.3155, allocations: 104.6 kB / 0.4964 GB, free: 15.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.42e-05/0.3156, allocations: 346.8 kB / 0.4967 GB, free: 14.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/0.3159, allocations: 277.8 kB / 0.497 GB, free: 14.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/0.3163, allocations: 345.1 kB / 0.4973 GB, free: 14.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006813/0.3231, allocations: 2.078 MB / 0.4993 GB, free: 13.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.3232, allocations: 1.375 kB / 0.4993 GB, free: 13.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00254/0.3257, allocations: 1.167 MB / 0.5005 GB, free: 12.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.464e-05/0.3257, allocations: 35.78 kB / 0.5005 GB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3257, allocations: 5.531 kB / 0.5005 GB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002063/0.3278, allocations: 0.5238 MB / 0.501 GB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.3281, allocations: 77.5 kB / 0.5011 GB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004962/0.3331, allocations: 3.974 MB / 0.505 GB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005041/0.3336, allocations: 47.64 kB / 0.505 GB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-05/0.3336, allocations: 23.73 kB / 0.505 GB, free: 9.168 MB / 366.1 MB Warning: Assuming fixed start value for the following 3 variables: line2.myFault.fault:DISCRETE(start = false fixed = true ) \"true means the fault is active\" type: Boolean line2.myFault.Y.re:DISCRETE(start = 0.0 fixed = true ) \"Real part of complex number\" type: Real line2.myFault.Y.im:DISCRETE(start = 0.0 fixed = true ) \"Imaginary part of complex number\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.line2.myFault.fault,line2.myFault.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.line2.myFault.Y.re,$PRE.line2.myFault.Y.im,line2.myFault.Y.im,line2.myFault.Y.re) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.000307/0.334, allocations: 227.9 kB / 0.5052 GB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.523e-05/0.334, allocations: 39.11 kB / 0.5053 GB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/0.3365, allocations: 1.117 MB / 0.5064 GB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3365, allocations: 8 kB / 0.5064 GB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.3365, allocations: 0 / 0.5064 GB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.3365, allocations: 3.984 kB / 0.5064 GB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002692/0.3392, allocations: 1.819 MB / 0.5082 GB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3392, allocations: 0 / 0.5082 GB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.3393, allocations: 39.98 kB / 0.5082 GB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001862/0.3412, allocations: 0.5148 MB / 0.5087 GB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/0.3412, allocations: 12 kB / 0.5087 GB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00427/0.3455, allocations: 3.923 MB / 0.5125 GB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3455, allocations: 0 / 0.5125 GB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/0.3477, allocations: 1.165 MB / 0.5137 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.3479, allocations: 124.7 kB / 0.5138 GB, free: 360 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.885e-05/0.3479, allocations: 15.98 kB / 0.5138 GB, free: 344 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/0.3483, allocations: 27.92 kB / 0.5138 GB, free: 316 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.3484, allocations: 40.39 kB / 0.5139 GB, free: 276 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/0.3485, allocations: 19.98 kB / 0.5139 GB, free: 256 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002119/0.3487, allocations: 214 kB / 0.5141 GB, free: 36 kB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3487, allocations: 3.938 kB / 0.5141 GB, free: 32 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008486/0.3495, allocations: 183.9 kB / 0.5143 GB, free: 15.85 MB / 382.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: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,line2.myFault.Y.re,line2.myFault.Y.im,line2.myFault.fault) * Number of discrete states: 7 ($whenCondition4,line2.myFault.Y.im,line2.myFault.Y.re,$whenCondition3,$whenCondition2,line2.myFault.fault,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002903/0.3498, allocations: 136.5 kB / 0.5144 GB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002188/0.352, allocations: 0.9301 MB / 0.5153 GB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.352, allocations: 0 / 0.5153 GB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.3532, allocations: 0.6021 MB / 0.5159 GB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/0.3537, allocations: 40.88 kB / 0.5159 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.3555, allocations: 0.7987 MB / 0.5167 GB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005917/0.3561, allocations: 0.8133 MB / 0.5175 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002195/0.3563, allocations: 51.42 kB / 0.5176 GB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.476e-05/0.3564, allocations: 35.42 kB / 0.5176 GB, free: 12.34 MB / 382.1 MB Notification: Performance of SimCode: time 1.533e-06/0.3564, allocations: 4 kB / 0.5176 GB, free: 12.34 MB / 382.1 MB Notification: Performance of Templates: time 0.01989/0.3763, allocations: 11.86 MB / 0.5292 GB, free: 0.5195 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.994048738852143]