Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.001902/0.001902, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.547/1.547, allocations: 230.6 MB / 252.7 MB, free: 8.066 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.001816/0.001816, allocations: 213.2 kB / 309.2 MB, free: 2.941 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.6095/0.6095, allocations: 107.2 MB / 472.8 MB, free: 4.508 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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.002709/0.002709, allocations: 87.88 kB / 0.6336 GB, free: 4.379 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5097/0.5124, allocations: 80.14 MB / 0.7119 GB, free: 4.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01933/0.5317, allocations: 18.5 MB / 0.73 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01386/0.5456, allocations: 4.819 MB / 0.7347 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004756/0.5504, allocations: 47.88 kB / 0.7347 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003311/0.5537, allocations: 0.8805 MB / 0.7356 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009329/0.563, allocations: 2.283 MB / 0.7378 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006909/0.5699, allocations: 2.055 MB / 0.7398 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01067/0.5806, allocations: 5.744 MB / 0.7454 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003102/0.5837, allocations: 0.8659 MB / 0.7463 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006762/0.5904, allocations: 2.395 MB / 0.7486 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00838/0.5988, allocations: 2.663 MB / 0.7512 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002897/0.6017, allocations: 436.4 kB / 0.7516 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00497/0.6067, allocations: 0.593 MB / 0.7522 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00331/0.61, allocations: 1.15 MB / 0.7533 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.005819/0.6158, allocations: 2.122 MB / 0.7554 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01207/0.6279, allocations: 6.326 MB / 0.7616 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.6279, allocations: 0 / 0.7616 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6279, allocations: 0 / 0.7616 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000338/0.6282, allocations: 0 / 0.7616 GB, free: 2.641 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.03744/0.6657, allocations: 9.902 MB / 0.7713 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.6657, allocations: 12.03 kB / 0.7713 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02738/0.6931, allocations: 4.047 MB / 0.7752 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007189/0.7003, allocations: 2.566 MB / 0.7777 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001318/0.7016, allocations: 1.04 MB / 0.7787 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001733/0.7033, allocations: 352 kB / 0.7791 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0115/0.7148, allocations: 4.748 MB / 0.7837 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.128e-05/0.7149, allocations: 3.938 kB / 0.7837 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004139/0.7153, allocations: 140 kB / 0.7838 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-05/0.7154, allocations: 84 kB / 0.7839 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/0.7258, allocations: 4.249 MB / 0.7881 GB, free: 8.766 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.03942/0.7652, allocations: 13.04 MB / 0.8008 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01394/0.7791, allocations: 4.353 MB / 0.8051 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007427/0.7866, allocations: 2.495 MB / 0.8075 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007354/0.7873, allocations: 62.95 kB / 0.8076 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008729/0.796, allocations: 3.2 MB / 0.8107 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=383): time 9.247e-06/0.796, allocations: 0 / 0.8107 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=383): time 0.3244/1.12, allocations: 67.83 MB / 0.8769 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001588/1.121, allocations: 145.8 kB / 0.8771 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005815/1.126, allocations: 3.209 MB / 0.8802 GB, free: 9.715 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001349/1.128, allocations: 89.7 kB / 0.8803 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001983/1.13, allocations: 2.009 MB / 0.8822 GB, free: 7.602 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003043/1.133, allocations: 1.375 MB / 0.8836 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001728/1.135, allocations: 0.6743 MB / 0.8842 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001749/1.135, allocations: 301.1 kB / 0.8845 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006739/1.141, allocations: 2.627 MB / 0.8871 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007886/1.149, allocations: 3.251 MB / 0.8903 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07885/1.228, allocations: 18.96 MB / 0.9088 GB, free: 11.86 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.732e-05/1.228, allocations: 8 kB / 0.9088 GB, free: 11.85 MB / 0.67 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.06278/1.291, allocations: 17.16 MB / 0.9256 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/1.291, allocations: 67.34 kB / 0.9256 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-05/1.291, allocations: 16 kB / 0.9256 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02788/1.319, allocations: 7.15 MB / 0.9326 GB, free: 3.379 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003991/1.323, allocations: 0.6631 MB / 0.9333 GB, free: 2.715 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09754/1.421, allocations: 32.3 MB / 0.9648 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006553/1.427, allocations: 0.626 MB / 0.9654 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006487/1.428, allocations: 152 kB / 0.9656 GB, free: 1.504 MB / 0.7169 GB Warning: Assuming fixed start value for the following 5 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.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 (396): * Single equations (assignments): 393 * 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.001967/1.43, allocations: 0.664 MB / 0.9662 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/1.431, allocations: 480.9 kB / 0.9667 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.37/1.801, allocations: 16.73 MB / 0.983 GB, free: 224.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.533e-05/1.801, allocations: 37.83 kB / 0.983 GB, free: 224.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-05/1.801, allocations: 28.53 kB / 0.9831 GB, free: 224.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000117/1.801, allocations: 28.12 kB / 0.9831 GB, free: 224.4 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.06436/1.865, allocations: 20.01 MB / 1.003 GB, free: 221.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-05/1.865, allocations: 3.938 kB / 1.003 GB, free: 221.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002457/1.868, allocations: 389.5 kB / 1.003 GB, free: 221.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02618/1.894, allocations: 7.34 MB / 1.01 GB, free: 220.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008881/1.895, allocations: 70.47 kB / 1.01 GB, free: 220.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07348/1.968, allocations: 30.7 MB / 1.04 GB, free: 207.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.968, allocations: 0 / 1.04 GB, free: 207.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05844/2.027, allocations: 20.15 MB / 1.06 GB, free: 190.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/2.028, allocations: 0.4993 MB / 1.06 GB, free: 189.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009756/2.029, allocations: 67.94 kB / 1.06 GB, free: 189.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004212/2.034, allocations: 379.5 kB / 1.061 GB, free: 189.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002701/2.036, allocations: 0.8153 MB / 1.062 GB, free: 188.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002818/2.037, allocations: 94.61 kB / 1.062 GB, free: 188.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002494/2.039, allocations: 2.093 MB / 1.064 GB, free: 186.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/2.039, allocations: 0 / 1.064 GB, free: 186.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005656/2.045, allocations: 1.808 MB / 1.066 GB, free: 184.6 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (247): * Single equations (assignments): 244 * 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 {(98,38,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.0007251/2.045, allocations: 205.8 kB / 1.066 GB, free: 184.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02432/2.07, allocations: 8.837 MB / 1.074 GB, free: 175.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/2.07, allocations: 0 / 1.074 GB, free: 175.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01859/2.088, allocations: 5.88 MB / 1.08 GB, free: 169.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003735/2.092, allocations: 383 kB / 1.08 GB, free: 169.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/2.105, allocations: 8.056 MB / 1.088 GB, free: 161.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/2.107, allocations: 1.927 MB / 1.09 GB, free: 159.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001539/2.108, allocations: 371.1 kB / 1.091 GB, free: 158.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007767/2.109, allocations: 255.4 kB / 1.091 GB, free: 158.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.042e-06/2.109, allocations: 0 / 1.091 GB, free: 158.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.1193/2.228, allocations: 102.4 MB / 1.191 GB, free: 56.49 MB / 0.7325 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.417382847517729] Failed to read output from testmodel.py, exit status != 0: 2.2379264645278454 2.247388398 1.616950101 Calling exit ...