Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.0009027/0.0009027, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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 0.8779/0.8779, allocations: 177.2 MB / 200.2 MB, free: 5.945 MB / 186.7 MB " [Timeout remaining time 179] 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.001078/0.001078, allocations: 156.6 kB / 256.7 MB, free: 13.35 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2621/0.2621, allocations: 80.37 MB / 393.5 MB, free: 2.375 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_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_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.5562 GB, free: 12.11 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.298e-05, allocations: 2.281 kB / 0.5562 GB, free: 12.1 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01139/0.01141, allocations: 16.59 MB / 0.5724 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.009989/0.0214, allocations: 6.255 MB / 0.5785 GB, free: 5.156 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0028/0.0242, allocations: 47.88 kB / 0.5785 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0021/0.0263, allocations: 0.98 MB / 0.5795 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.004868/0.03117, allocations: 2.602 MB / 0.582 GB, free: 1.508 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003152/0.03432, allocations: 2.289 MB / 0.5843 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.005657/0.03998, allocations: 6.955 MB / 0.591 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.041, allocations: 0.8303 MB / 0.5919 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003523/0.04452, allocations: 3.819 MB / 0.5956 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001952/0.04647, allocations: 2.644 MB / 0.5982 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0005344/0.04701, allocations: 0.6719 MB / 0.5988 GB, free: 228 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2168/0.2638, allocations: 0.899 MB / 0.5997 GB, free: 66.91 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0009052/0.2647, allocations: 1.495 MB / 0.6012 GB, free: 66.91 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001354/0.2661, allocations: 1.919 MB / 0.603 GB, free: 66.91 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.005817/0.2719, allocations: 8.424 MB / 0.6113 GB, free: 66.56 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2719, allocations: 0 / 0.6113 GB, free: 66.56 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2719, allocations: 0 / 0.6113 GB, free: 66.56 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.019e-05/0.272, allocations: 2.734 kB / 0.6113 GB, free: 66.56 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 695 * Number of variables: 695 Notification: Performance of Generate backend data structure: time 0.01948/0.2915, allocations: 11.75 MB / 0.6227 GB, free: 63.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.2915, allocations: 8.188 kB / 0.6228 GB, free: 63.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005754/0.2973, allocations: 1.96 MB / 0.6247 GB, free: 63.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00378/0.301, allocations: 3.32 MB / 0.6279 GB, free: 61.37 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006097/0.3016, allocations: 1.416 MB / 0.6293 GB, free: 59.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004559/0.3021, allocations: 331 kB / 0.6296 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005037/0.3071, allocations: 3.96 MB / 0.6335 GB, free: 58.28 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.028e-05/0.3072, allocations: 7.562 kB / 0.6335 GB, free: 58.28 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002603/0.3074, allocations: 111.6 kB / 0.6336 GB, free: 58.19 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.936e-05/0.3075, allocations: 66.47 kB / 0.6337 GB, free: 58.19 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005156/0.3126, allocations: 3.789 MB / 0.6374 GB, free: 56.61 MB / 0.5105 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.01481/0.3274, allocations: 11.6 MB / 0.6487 GB, free: 48.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007449/0.3349, allocations: 5.308 MB / 0.6539 GB, free: 46.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00262/0.3375, allocations: 2.227 MB / 0.656 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000327/0.3378, allocations: 80.94 kB / 0.6561 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003074/0.3409, allocations: 2.865 MB / 0.6589 GB, free: 43.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=333): time 4.539e-06/0.3409, allocations: 0 / 0.6589 GB, free: 43.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=333): time 0.05415/0.3951, allocations: 26.25 MB / 0.6846 GB, free: 18.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.3951, allocations: 196.1 kB / 0.6847 GB, free: 18.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005248/0.4004, allocations: 4.314 MB / 0.689 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006529/0.401, allocations: 101.7 kB / 0.689 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007206/0.4018, allocations: 1.817 MB / 0.6908 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001021/0.4028, allocations: 1.248 MB / 0.692 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001256/0.404, allocations: 1.02 MB / 0.693 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.767e-05/0.4041, allocations: 305.1 kB / 0.6933 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00361/0.4077, allocations: 2.982 MB / 0.6962 GB, free: 6.746 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003703/0.4114, allocations: 3.516 MB / 0.6997 GB, free: 3.137 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008281/0.4197, allocations: 6.068 MB / 0.7056 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.682e-05/0.4197, allocations: 0 / 0.7056 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01466/0.4343, allocations: 9.101 MB / 0.7145 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.4344, allocations: 8 kB / 0.7145 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.923e-05/0.4344, allocations: 11.28 kB / 0.7145 GB, free: 3.816 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01428/0.4487, allocations: 10.16 MB / 0.7244 GB, free: 9.656 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002961/0.4516, allocations: 0.951 MB / 0.7254 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.4619, allocations: 6.284 MB / 0.7315 GB, free: 2.441 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00559/0.4675, allocations: 0.7101 MB / 0.7322 GB, free: 1.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003891/0.4679, allocations: 188 kB / 0.7324 GB, free: 1.547 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (564): * Single equations (assignments): 561 * 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.002038/0.47, allocations: 0.7686 MB / 0.7331 GB, free: 0.8242 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001097/0.471, allocations: 468.9 kB / 0.7336 GB, free: 372 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02058/0.4916, allocations: 11.57 MB / 0.7449 GB, free: 4.816 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/0.4917, allocations: 36 kB / 0.7449 GB, free: 4.781 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.4917, allocations: 0 / 0.7449 GB, free: 4.781 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.256e-05/0.4917, allocations: 19.88 kB / 0.7449 GB, free: 4.762 MB / 0.5573 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.02653/0.5182, allocations: 15.56 MB / 0.7601 GB, free: 5.281 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.5182, allocations: 0 / 0.7601 GB, free: 5.281 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001616/0.5199, allocations: 435.6 kB / 0.7605 GB, free: 4.875 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008748/0.5286, allocations: 4.756 MB / 0.7652 GB, free: 120 kB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004758/0.5291, allocations: 79.98 kB / 0.7652 GB, free: 40 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03218/0.5613, allocations: 20.76 MB / 0.7855 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.5613, allocations: 3.75 kB / 0.7855 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02628/0.5876, allocations: 14.57 MB / 0.7998 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001893/0.5894, allocations: 0.6093 MB / 0.8003 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005835/0.59, allocations: 67.98 kB / 0.8004 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0023/0.5923, allocations: 379.6 kB / 0.8008 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00167/0.594, allocations: 0.6519 MB / 0.8014 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/0.5942, allocations: 91.98 kB / 0.8015 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.003274/0.5975, allocations: 2.838 MB / 0.8043 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5975, allocations: 0 / 0.8043 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003286/0.6008, allocations: 1.452 MB / 0.8057 GB, free: 6.531 MB / 0.6198 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 (240): * Single equations (assignments): 239 * 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.000505/0.6013, allocations: 242.3 kB / 0.8059 GB, free: 6.312 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01257/0.6138, allocations: 7.382 MB / 0.8131 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.6138, allocations: 0 / 0.8131 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.007179/0.621, allocations: 4.257 MB / 0.8173 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/0.6235, allocations: 395.4 kB / 0.8177 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.6348, allocations: 8.752 MB / 0.8262 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/0.6361, allocations: 1.818 MB / 0.828 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/0.6372, allocations: 288.4 kB / 0.8283 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of SimCode: time 1.222e-06/0.6372, allocations: 0 / 0.8283 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of Templates: time 0.2674/0.9046, allocations: 81.82 MB / 0.9082 GB, free: 180.7 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.775112750940025] Failed to read output from testmodel.py, exit status != 0: 0.9100764095783234 0.91520521 0.642033895 Calling exit ...