Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.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.001458/0.001458, allocations: 99.64 kB / 18.95 MB, free: 2.539 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.563/1.563, allocations: 230.6 MB / 252.7 MB, free: 8.105 MB / 206.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.001761/0.001761, allocations: 213.5 kB / 309.2 MB, free: 2.953 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.6365/0.6365, allocations: 107.2 MB / 472.8 MB, free: 4.551 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") [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.00264/0.00264, allocations: 83.88 kB / 0.6336 GB, free: 4.402 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4811/0.4837, allocations: 80.12 MB / 0.7119 GB, free: 4.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01928/0.503, allocations: 18.58 MB / 0.73 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01437/0.5174, allocations: 4.852 MB / 0.7348 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004986/0.5224, allocations: 43.5 kB / 0.7348 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003976/0.5263, allocations: 0.8903 MB / 0.7357 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.537, allocations: 2.3 MB / 0.7379 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007457/0.5444, allocations: 2.063 MB / 0.74 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01082/0.5552, allocations: 5.795 MB / 0.7456 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002773/0.558, allocations: 0.8642 MB / 0.7465 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005122/0.5631, allocations: 2.425 MB / 0.7488 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005538/0.5687, allocations: 2.692 MB / 0.7515 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.003019/0.5717, allocations: 443.1 kB / 0.7519 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004356/0.5761, allocations: 0.6072 MB / 0.7525 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.003117/0.5792, allocations: 1.163 MB / 0.7536 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.007203/0.5864, allocations: 2.127 MB / 0.7557 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01221/0.5986, allocations: 6.375 MB / 0.7619 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.5986, allocations: 0 / 0.7619 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5986, allocations: 0 / 0.7619 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003004/0.5989, allocations: 1.125 kB / 0.7619 GB, free: 2.395 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03938/0.6383, allocations: 9.967 MB / 0.7716 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.6383, allocations: 16.03 kB / 0.7717 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03011/0.6684, allocations: 4.055 MB / 0.7756 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007226/0.6756, allocations: 2.594 MB / 0.7781 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001273/0.6769, allocations: 1.036 MB / 0.7792 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001458/0.6784, allocations: 352 kB / 0.7795 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0126/0.691, allocations: 4.764 MB / 0.7841 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.112e-05/0.6911, allocations: 3.938 kB / 0.7842 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004321/0.6915, allocations: 140 kB / 0.7843 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.257e-05/0.6916, allocations: 88 kB / 0.7844 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01158/0.7031, allocations: 4.253 MB / 0.7885 GB, free: 8.297 MB / 0.545 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.0411/0.7442, allocations: 13.06 MB / 0.8013 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01435/0.7586, allocations: 4.374 MB / 0.8055 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007016/0.7656, allocations: 2.508 MB / 0.808 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006926/0.7663, allocations: 58.97 kB / 0.808 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008793/0.7751, allocations: 3.214 MB / 0.8112 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=384): time 8.867e-06/0.7751, allocations: 0 / 0.8112 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=384): time 0.3321/1.107, allocations: 67.54 MB / 0.8771 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002081/1.107, allocations: 145.8 kB / 0.8773 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007142/1.115, allocations: 3.245 MB / 0.8805 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.00111/1.116, allocations: 93.69 kB / 0.8805 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002277/1.118, allocations: 2.013 MB / 0.8825 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002952/1.121, allocations: 1.386 MB / 0.8839 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003728/1.125, allocations: 0.6705 MB / 0.8845 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001477/1.125, allocations: 301.1 kB / 0.8848 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006645/1.131, allocations: 2.651 MB / 0.8874 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007382/1.139, allocations: 3.271 MB / 0.8906 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08156/1.22, allocations: 19.18 MB / 0.9093 GB, free: 11.31 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.673e-05/1.22, allocations: 8 kB / 0.9093 GB, free: 11.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.06635/1.287, allocations: 17.2 MB / 0.9261 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/1.287, allocations: 67.34 kB / 0.9262 GB, free: 9.961 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.159e-05/1.287, allocations: 16 kB / 0.9262 GB, free: 9.945 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0288/1.316, allocations: 7.154 MB / 0.9332 GB, free: 2.785 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004039/1.32, allocations: 0.6787 MB / 0.9339 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1051/1.425, allocations: 32.31 MB / 0.9654 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006776/1.432, allocations: 0.6261 MB / 0.966 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001107/1.433, allocations: 152 kB / 0.9662 GB, free: 0.8789 MB / 0.7169 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (400): * Single equations (assignments): 397 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003148/1.436, allocations: 0.6757 MB / 0.9668 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001849/1.438, allocations: 481.1 kB / 0.9673 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3884/1.826, allocations: 16.76 MB / 0.9837 GB, free: 224.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.806e-05/1.826, allocations: 36.58 kB / 0.9837 GB, free: 224.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.738e-05/1.826, allocations: 28.25 kB / 0.9837 GB, free: 224.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001158/1.826, allocations: 21.31 kB / 0.9837 GB, free: 224.6 MB / 0.7325 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.0627/1.889, allocations: 20.05 MB / 1.003 GB, free: 221.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.042e-05/1.889, allocations: 1.656 kB / 1.003 GB, free: 221.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002321/1.891, allocations: 396.8 kB / 1.004 GB, free: 221.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02584/1.917, allocations: 7.362 MB / 1.011 GB, free: 220.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008657/1.918, allocations: 74.11 kB / 1.011 GB, free: 220.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07272/1.991, allocations: 30.67 MB / 1.041 GB, free: 207.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.991, allocations: 0 / 1.041 GB, free: 207.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05778/2.049, allocations: 20.2 MB / 1.061 GB, free: 189.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001449/2.05, allocations: 0.5056 MB / 1.061 GB, free: 189 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007615/2.051, allocations: 71.94 kB / 1.061 GB, free: 189 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004111/2.055, allocations: 375.5 kB / 1.062 GB, free: 188.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002672/2.058, allocations: 0.8192 MB / 1.062 GB, free: 187.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002776/2.058, allocations: 95.98 kB / 1.062 GB, free: 187.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002386/2.06, allocations: 2.121 MB / 1.065 GB, free: 185.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/2.06, allocations: 0 / 1.065 GB, free: 185.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004068/2.064, allocations: 1.817 MB / 1.066 GB, free: 183.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(100,36,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000473/2.065, allocations: 194.2 kB / 1.066 GB, free: 183.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02295/2.088, allocations: 8.859 MB / 1.075 GB, free: 174.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/2.088, allocations: 0 / 1.075 GB, free: 174.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01786/2.106, allocations: 5.94 MB / 1.081 GB, free: 168.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/2.108, allocations: 388 kB / 1.081 GB, free: 168.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/2.12, allocations: 8.146 MB / 1.089 GB, free: 160.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/2.122, allocations: 1.935 MB / 1.091 GB, free: 158.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001392/2.123, allocations: 379.1 kB / 1.092 GB, free: 157.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007835/2.124, allocations: 247.4 kB / 1.092 GB, free: 157.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.052e-06/2.124, allocations: 0 / 1.092 GB, free: 157.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.1365/2.26, allocations: 103.1 MB / 1.192 GB, free: 54.79 MB / 0.7325 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.232236854732037] Failed to read output from testmodel.py, exit status != 0: 2.2703258004039526 2.279640181 1.678404918 Calling exit ...