Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 79.03 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 177.2 MB / 200.1 MB, free: 8.32 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 160.8 kB / 256.6 MB, free: 4.277 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5646/0.5646, allocations: 59.74 MB / 372.7 MB, free: 46.85 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002653/0.002653, allocations: 92.27 kB / 0.5224 GB, free: 29.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.171, allocations: 73.28 MB / 0.5939 GB, free: 14.98 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.0201/0.1911, allocations: 16.47 MB / 0.61 GB, free: 14.44 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01621/0.2073, allocations: 6.213 MB / 0.6161 GB, free: 8.211 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005122/0.2125, allocations: 43.88 kB / 0.6161 GB, free: 8.168 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004272/0.2167, allocations: 0.9724 MB / 0.6171 GB, free: 7.188 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01118/0.2279, allocations: 2.834 MB / 0.6198 GB, free: 4.359 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006194/0.2341, allocations: 2.193 MB / 0.622 GB, free: 2.184 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01239/0.2465, allocations: 7.433 MB / 0.6292 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002089/0.2486, allocations: 0.8419 MB / 0.6301 GB, free: 9.832 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005129/0.2537, allocations: 2.806 MB / 0.6328 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006144/0.2599, allocations: 3.08 MB / 0.6358 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002621/0.2625, allocations: 0.6719 MB / 0.6365 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003081/0.2656, allocations: 0.8943 MB / 0.6373 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00224/0.2678, allocations: 1.487 MB / 0.6388 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003844/0.2717, allocations: 2.309 MB / 0.641 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01253/0.2842, allocations: 8.278 MB / 0.6491 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.2842, allocations: 3.938 kB / 0.6491 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.525e-06/0.2842, allocations: 4 kB / 0.6491 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003428/0.2845, allocations: 0 / 0.6491 GB, free: 6.223 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 691 * Number of variables: 691 Notification: Performance of Generate backend data structure: time 0.04696/0.3315, allocations: 12.59 MB / 0.6614 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.3316, allocations: 11.98 kB / 0.6614 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01275/0.3443, allocations: 1.967 MB / 0.6634 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009425/0.3537, allocations: 3.306 MB / 0.6666 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001764/0.3555, allocations: 1.411 MB / 0.668 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001432/0.3569, allocations: 327.9 kB / 0.6683 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009573/0.3665, allocations: 3.957 MB / 0.6721 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.719e-05/0.3666, allocations: 0 / 0.6721 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003387/0.3669, allocations: 108 kB / 0.6722 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-05/0.367, allocations: 68 kB / 0.6723 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009278/0.3762, allocations: 3.78 MB / 0.676 GB, free: 10.19 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0292/0.4054, allocations: 11.52 MB / 0.6873 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01653/0.422, allocations: 5.293 MB / 0.6924 GB, free: 9.168 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006652/0.4286, allocations: 2.221 MB / 0.6946 GB, free: 6.926 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006465/0.4293, allocations: 90.45 kB / 0.6947 GB, free: 6.836 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00739/0.4367, allocations: 2.858 MB / 0.6975 GB, free: 3.926 MB / 0.545 GB Notification: Performance of pre-optimization done (n=331): time 6.182e-06/0.4367, allocations: 0 / 0.6975 GB, free: 3.926 MB / 0.545 GB Notification: Performance of matching and sorting (n=331): time 0.5658/1.002, allocations: 25.69 MB / 0.7226 GB, free: 109 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/1.003, allocations: 190 kB / 0.7227 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009346/1.012, allocations: 4.313 MB / 0.727 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.00132/1.013, allocations: 97.67 kB / 0.727 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001674/1.015, allocations: 1.808 MB / 0.7288 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002146/1.017, allocations: 1.252 MB / 0.73 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002619/1.02, allocations: 1.03 MB / 0.731 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.537e-05/1.02, allocations: 302.2 kB / 0.7313 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006854/1.027, allocations: 2.988 MB / 0.7342 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006569/1.033, allocations: 3.498 MB / 0.7377 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01253/1.046, allocations: 6.059 MB / 0.7436 GB, free: 100.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.247e-05/1.046, allocations: 0 / 0.7436 GB, free: 100.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=717) (initialization): time 0.01975/1.065, allocations: 9.156 MB / 0.7525 GB, free: 92.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.467e-05/1.066, allocations: 8.125 kB / 0.7525 GB, free: 92.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.192e-05/1.066, allocations: 12 kB / 0.7525 GB, free: 92.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02334/1.089, allocations: 10.2 MB / 0.7625 GB, free: 82.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004949/1.094, allocations: 0.9479 MB / 0.7634 GB, free: 81.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/1.109, allocations: 6.28 MB / 0.7696 GB, free: 74.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007447/1.116, allocations: 0.7068 MB / 0.7702 GB, free: 74.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009316/1.117, allocations: 188 kB / 0.7704 GB, free: 74.07 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5,$whenCondition8,$whenCondition7,g4.eSDC1A.rotatingExciterLimited.sISO.local_reset,g2.eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (562): * Single equations (assignments): 559 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(80,72)} Notification: Performance of prepare postOptimizeDAE: time 0.0019/1.119, allocations: 0.7664 MB / 0.7712 GB, free: 73.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/1.12, allocations: 477.7 kB / 0.7716 GB, free: 72.83 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03332/1.154, allocations: 11.51 MB / 0.7829 GB, free: 61.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-05/1.154, allocations: 36 kB / 0.7829 GB, free: 61.24 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/1.154, allocations: 3.938 kB / 0.7829 GB, free: 61.24 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.812e-05/1.154, allocations: 15.94 kB / 0.7829 GB, free: 61.22 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04281/1.197, allocations: 15.54 MB / 0.7981 GB, free: 45.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.31e-05/1.197, allocations: 4.125 kB / 0.7981 GB, free: 45.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00291/1.199, allocations: 431.4 kB / 0.7985 GB, free: 45.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01488/1.214, allocations: 4.749 MB / 0.8032 GB, free: 40.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009843/1.215, allocations: 82.39 kB / 0.8032 GB, free: 40.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0476/1.263, allocations: 20.77 MB / 0.8235 GB, free: 19.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.263, allocations: 4 kB / 0.8235 GB, free: 19.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04205/1.305, allocations: 14.67 MB / 0.8378 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002525/1.307, allocations: 0.6133 MB / 0.8384 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001573/1.309, allocations: 72 kB / 0.8385 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004679/1.314, allocations: 383.5 kB / 0.8389 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002195/1.316, allocations: 0.6469 MB / 0.8395 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002981/1.316, allocations: 91.97 kB / 0.8396 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00454/1.321, allocations: 2.838 MB / 0.8424 GB, free: 252 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.321, allocations: 0 / 0.8424 GB, free: 252 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005796/1.327, allocations: 1.458 MB / 0.8438 GB, free: 14.84 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 38 (g1.g1.w,g1.g1.delta,g1.g1.Epd,g1.g1.Epq,g1.g1.PSIkd,g1.g1.PSIkq,g1.sEXS.simpleLagLim.state,g1.sEXS.leadLag.TF.x_scaled[1],g2.g2.w,g2.g2.delta,g2.g2.Epd,g2.g2.Epq,g2.g2.PSIkd,g2.g2.PSIkq,g2.eSDC1A.imDerivativeLag.x,g2.eSDC1A.imLeadLag.TF.x_scaled[1],g2.eSDC1A.simpleLagLim.state,g2.eSDC1A.rotatingExciterLimited.sISO.y,g2.eSDC1A.TransducerDelay.state,g3.g3.w,g3.g3.delta,g3.g3.Epd,g3.g3.Epq,g3.g3.PSIkd,g3.g3.PSIkq,g3.sEXS.simpleLagLim.state,g3.sEXS.leadLag.TF.x_scaled[1],g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epd,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIkq,g4.eSDC1A.imDerivativeLag.x,g4.eSDC1A.imLeadLag.TF.x_scaled[1],g4.eSDC1A.simpleLagLim.state,g4.eSDC1A.rotatingExciterLimited.sISO.y,g4.eSDC1A.TransducerDelay.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (238): * Single equations (assignments): 237 * 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 {(54,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007115/1.327, allocations: 242.3 kB / 0.844 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02417/1.351, allocations: 7.382 MB / 0.8512 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/1.351, allocations: 0 / 0.8512 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01561/1.367, allocations: 4.3 MB / 0.8554 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004227/1.371, allocations: 399.2 kB / 0.8558 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02011/1.391, allocations: 9.202 MB / 0.8648 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002739/1.394, allocations: 1.818 MB / 0.8666 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002736/1.397, allocations: 436.1 kB / 0.867 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/1.398, allocations: 272.4 kB / 0.8673 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of SimCode: time 1.052e-06/1.398, allocations: 0 / 0.8673 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of Templates: time 0.1482/1.546, allocations: 79.08 MB / 0.9445 GB, free: 7.918 MB / 0.67 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & ./OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.495136871002614] Failed to read output from testmodel.py, exit status != 0: 1.5562424820382148 1.572328753 1.28466776 Calling exit ...