Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.001334/0.001334, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.492/1.492, allocations: 230.6 MB / 253.4 MB, free: 14.43 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.001486/0.001486, allocations: 217.3 kB / 310 MB, free: 3.113 MB / 238.1 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.6034/0.6034, allocations: 101.3 MB / 467.8 MB, free: 30.67 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="cs",version="2.0",platforms={"static"}) [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.002495/0.002495, allocations: 82.42 kB / 0.6253 GB, free: 33.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1281, allocations: 78.61 MB / 0.702 GB, free: 0.957 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.02364/0.1518, allocations: 22.11 MB / 0.7236 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01178/0.1636, allocations: 4.982 MB / 0.7285 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003939/0.1675, allocations: 44 kB / 0.7285 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002778/0.1703, allocations: 0.8789 MB / 0.7294 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007309/0.1776, allocations: 2.328 MB / 0.7317 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005549/0.1831, allocations: 2.082 MB / 0.7337 GB, free: 448 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008723/0.1919, allocations: 5.837 MB / 0.7394 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002185/0.194, allocations: 0.9197 MB / 0.7403 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004112/0.1982, allocations: 2.427 MB / 0.7427 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004891/0.203, allocations: 3.002 MB / 0.7456 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001489/0.2045, allocations: 448 kB / 0.746 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.2066, allocations: 0.6132 MB / 0.7466 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001784/0.2084, allocations: 1.171 MB / 0.7478 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003796/0.2122, allocations: 2.645 MB / 0.7504 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009315/0.2215, allocations: 6.332 MB / 0.7565 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.2215, allocations: 4 kB / 0.7566 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2215, allocations: 4 kB / 0.7566 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002251/0.2218, allocations: 0 / 0.7566 GB, free: 8.895 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.0348/0.2565, allocations: 9.99 MB / 0.7663 GB, free: 14.81 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.2566, allocations: 11.97 kB / 0.7663 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001031/0.2567, allocations: 86.53 kB / 0.7664 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008049/0.2575, allocations: 488.9 kB / 0.7669 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02883/0.2863, allocations: 4.063 MB / 0.7708 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006426/0.2928, allocations: 2.606 MB / 0.7734 GB, free: 7.461 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001213/0.294, allocations: 1.037 MB / 0.7744 GB, free: 6.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001156/0.2951, allocations: 348 kB / 0.7747 GB, free: 5.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01215/0.3073, allocations: 4.758 MB / 0.7794 GB, free: 1.141 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.125e-05/0.3073, allocations: 0 / 0.7794 GB, free: 1.141 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004456/0.3078, allocations: 140 kB / 0.7795 GB, free: 1.004 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.048e-05/0.3079, allocations: 87.94 kB / 0.7796 GB, free: 0.918 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01056/0.3184, allocations: 4.259 MB / 0.7838 GB, free: 12.65 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 preOpt removeSimpleEquations (simulation): time 0.03887/0.3573, allocations: 18.14 MB / 0.8015 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01383/0.3711, allocations: 4.384 MB / 0.8057 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006854/0.378, allocations: 2.49 MB / 0.8082 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004967/0.3785, allocations: 62.94 kB / 0.8082 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.292/0.6704, allocations: 3.202 MB / 0.8114 GB, free: 91.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=385): time 1.049e-05/0.6705, allocations: 0 / 0.8114 GB, free: 91.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=385): time 0.2924/0.9628, allocations: 66.53 MB / 0.8763 GB, free: 51.13 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.9629, allocations: 153.8 kB / 0.8765 GB, free: 50.95 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003818/0.9667, allocations: 3.277 MB / 0.8797 GB, free: 47.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008966/0.9676, allocations: 85.7 kB / 0.8798 GB, free: 47.61 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009883/0.9686, allocations: 2.013 MB / 0.8817 GB, free: 45.97 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001518/0.9701, allocations: 1.388 MB / 0.8831 GB, free: 44.79 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001357/0.9715, allocations: 0.6825 MB / 0.8838 GB, free: 44.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.889e-05/0.9715, allocations: 305.1 kB / 0.884 GB, free: 43.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005226/0.9767, allocations: 2.616 MB / 0.8866 GB, free: 41.17 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005581/0.9823, allocations: 3.253 MB / 0.8898 GB, free: 37.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06891/1.051, allocations: 19.35 MB / 0.9087 GB, free: 18.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.377e-05/1.051, allocations: 4 kB / 0.9087 GB, free: 18.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.05541/1.107, allocations: 17.15 MB / 0.9254 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.397e-05/1.107, allocations: 64.03 kB / 0.9255 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.887e-05/1.107, allocations: 16.77 kB / 0.9255 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02919/1.136, allocations: 7.303 MB / 0.9326 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003699/1.14, allocations: 0.6787 MB / 0.9333 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09863/1.238, allocations: 33.78 MB / 0.9663 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006327/1.245, allocations: 0.642 MB / 0.9669 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008612/1.245, allocations: 159.9 kB / 0.9671 GB, free: 6.242 MB / 0.6231 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 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 (409): * Single equations (assignments): 406 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.002178/1.248, allocations: 0.671 MB / 0.9677 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001274/1.249, allocations: 480.9 kB / 0.9682 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06137/1.31, allocations: 16.76 MB / 0.9845 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-05/1.31, allocations: 40 kB / 0.9846 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.044e-05/1.31, allocations: 28.75 kB / 0.9846 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.128e-05/1.31, allocations: 23.92 kB / 0.9846 GB, free: 4.176 MB / 0.6387 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.06943/1.38, allocations: 21.75 MB / 1.006 GB, free: 14.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/1.38, allocations: 0 / 1.006 GB, free: 14.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00248/1.382, allocations: 393.2 kB / 1.006 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02888/1.411, allocations: 7.348 MB / 1.013 GB, free: 6.66 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009165/1.412, allocations: 76.86 kB / 1.013 GB, free: 6.586 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09081/1.503, allocations: 31.67 MB / 1.044 GB, free: 6.699 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/1.503, allocations: 4 kB / 1.044 GB, free: 6.695 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06888/1.572, allocations: 20.18 MB / 1.064 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/1.573, allocations: 0.513 MB / 1.065 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00118/1.574, allocations: 64 kB / 1.065 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004783/1.579, allocations: 385.7 kB / 1.065 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003285/1.583, allocations: 0.8153 MB / 1.066 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004547/1.583, allocations: 95.92 kB / 1.066 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003791/1.587, allocations: 2.149 MB / 1.068 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/1.587, allocations: 0 / 1.068 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00692/1.594, allocations: 1.829 MB / 1.07 GB, free: 12.7 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (249): * Single equations (assignments): 246 * 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.06907/1.663, allocations: 20.85 MB / 1.09 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.3058/1.969, allocations: 8.965 MB / 1.099 GB, free: 256.2 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.969, allocations: 1.125 kB / 1.099 GB, free: 256.2 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0202/1.989, allocations: 5.919 MB / 1.105 GB, free: 255.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002901/1.992, allocations: 387.6 kB / 1.105 GB, free: 255.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1498/2.141, allocations: 59.04 MB / 1.163 GB, free: 223.7 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00172/2.143, allocations: 2.455 MB / 1.165 GB, free: 221.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001495/2.145, allocations: 379.2 kB / 1.166 GB, free: 220.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002054/2.147, allocations: 1.999 MB / 1.167 GB, free: 218.8 MB / 0.7481 GB Notification: Performance of SimCode: time 9.71e-07/2.147, allocations: 0 / 1.167 GB, free: 218.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2241/2.371, allocations: 135.6 MB / 1.3 GB, free: 83.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.46/26.83, allocations: 8 kB / 1.3 GB, free: 83.38 MB / 0.7481 GB " [Timeout remaining time 633] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 31.715634983032942] Failed to read output from testmodel.py, exit status != 0: 27.080729392007925 27.100900657 26.875497077 Calling exit ...