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.001822/0.001822, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.383/1.383, allocations: 230.6 MB / 252.6 MB, free: 8.309 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.001526/0.001526, allocations: 202.2 kB / 309.2 MB, free: 3.164 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.5275/0.5275, allocations: 101.3 MB / 467 MB, free: 10.35 MB / 334.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",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.002519/0.002519, allocations: 83.88 kB / 0.6246 GB, free: 12.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4127, allocations: 78.6 MB / 0.7013 GB, free: 8.922 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01768/0.4304, allocations: 22.11 MB / 0.7229 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01206/0.4425, allocations: 4.973 MB / 0.7278 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0041/0.4466, allocations: 45.94 kB / 0.7278 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003136/0.4497, allocations: 0.8874 MB / 0.7287 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008569/0.4583, allocations: 2.334 MB / 0.731 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006273/0.4646, allocations: 2.084 MB / 0.733 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01087/0.4754, allocations: 5.831 MB / 0.7387 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002359/0.4778, allocations: 0.9215 MB / 0.7396 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004908/0.4827, allocations: 2.429 MB / 0.742 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005547/0.4882, allocations: 3.003 MB / 0.7449 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001663/0.4899, allocations: 446.4 kB / 0.7453 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002668/0.4926, allocations: 0.6074 MB / 0.7459 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001973/0.4945, allocations: 1.173 MB / 0.7471 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.004815/0.4994, allocations: 2.641 MB / 0.7496 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009091/0.5085, allocations: 6.339 MB / 0.7558 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5085, allocations: 0 / 0.7558 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5085, allocations: 1.594 kB / 0.7558 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001968/0.5087, allocations: 0 / 0.7558 GB, free: 3.637 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.03229/0.5409, allocations: 9.995 MB / 0.7656 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.541, allocations: 13.44 kB / 0.7656 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006667/0.5417, allocations: 498.4 kB / 0.7661 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02659/0.5682, allocations: 4.057 MB / 0.77 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006417/0.5747, allocations: 2.61 MB / 0.7726 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001097/0.5758, allocations: 1.037 MB / 0.7736 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009319/0.5767, allocations: 352 kB / 0.7739 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009739/0.5864, allocations: 4.751 MB / 0.7786 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.619e-05/0.5865, allocations: 3.938 kB / 0.7786 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003875/0.5869, allocations: 140 kB / 0.7787 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-05/0.5869, allocations: 88 kB / 0.7788 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008922/0.5959, allocations: 4.26 MB / 0.783 GB, free: 12.48 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.03544/0.6313, allocations: 18.12 MB / 0.8006 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01236/0.6437, allocations: 4.384 MB / 0.8049 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006058/0.6497, allocations: 2.494 MB / 0.8074 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006513/0.6504, allocations: 66.94 kB / 0.8074 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007282/0.6577, allocations: 3.193 MB / 0.8105 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=385): time 7.053e-06/0.6577, allocations: 0 / 0.8105 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=385): time 0.28/0.9377, allocations: 66.55 MB / 0.8755 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.9378, allocations: 141.8 kB / 0.8757 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005953/0.9437, allocations: 3.275 MB / 0.8789 GB, free: 8.809 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0009572/0.9447, allocations: 93.69 kB / 0.879 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001863/0.9466, allocations: 1.997 MB / 0.8809 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002262/0.9488, allocations: 1.394 MB / 0.8823 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002696/0.9515, allocations: 0.6864 MB / 0.8829 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.9517, allocations: 305.1 kB / 0.8832 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006264/0.9579, allocations: 2.616 MB / 0.8858 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006873/0.9648, allocations: 3.261 MB / 0.889 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07405/1.039, allocations: 19.34 MB / 0.9079 GB, free: 10.58 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.788e-05/1.039, allocations: 4 kB / 0.9079 GB, free: 10.57 MB / 0.67 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.06074/1.1, allocations: 17.14 MB / 0.9246 GB, free: 9.387 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 9.645e-05/1.1, allocations: 67.39 kB / 0.9247 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-05/1.1, allocations: 20 kB / 0.9247 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02748/1.127, allocations: 7.295 MB / 0.9318 GB, free: 1.988 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003645/1.131, allocations: 0.6826 MB / 0.9325 GB, free: 1.305 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09466/1.226, allocations: 33.8 MB / 0.9655 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006361/1.232, allocations: 0.6376 MB / 0.9661 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009517/1.233, allocations: 152 kB / 0.9662 GB, free: 14.57 MB / 0.7325 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.002756/1.236, allocations: 0.6676 MB / 0.9669 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001626/1.237, allocations: 492.8 kB / 0.9674 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3451/1.582, allocations: 16.76 MB / 0.9837 GB, free: 232 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.343e-05/1.582, allocations: 37.22 kB / 0.9838 GB, free: 232 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.702e-05/1.582, allocations: 31.64 kB / 0.9838 GB, free: 232 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.904e-05/1.582, allocations: 19.31 kB / 0.9838 GB, free: 232 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.05941/1.642, allocations: 21.77 MB / 1.005 GB, free: 228.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-05/1.642, allocations: 1.062 kB / 1.005 GB, free: 228.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002281/1.644, allocations: 395.7 kB / 1.005 GB, free: 228.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02431/1.669, allocations: 7.334 MB / 1.013 GB, free: 227.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008409/1.669, allocations: 68.53 kB / 1.013 GB, free: 227.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06787/1.737, allocations: 31.68 MB / 1.044 GB, free: 213.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.737, allocations: 3.938 kB / 1.044 GB, free: 213.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05343/1.791, allocations: 20.18 MB / 1.063 GB, free: 193.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/1.792, allocations: 0.5133 MB / 1.064 GB, free: 193.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009841/1.793, allocations: 66.17 kB / 1.064 GB, free: 193.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00386/1.797, allocations: 387.5 kB / 1.064 GB, free: 192.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002536/1.8, allocations: 0.8114 MB / 1.065 GB, free: 191.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002665/1.8, allocations: 95.98 kB / 1.065 GB, free: 191.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002349/1.802, allocations: 2.149 MB / 1.067 GB, free: 189.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/1.802, allocations: 0 / 1.067 GB, free: 189.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00418/1.806, allocations: 1.824 MB / 1.069 GB, free: 187.9 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.05304/1.859, allocations: 20.86 MB / 1.089 GB, free: 166.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0221/1.881, allocations: 8.969 MB / 1.098 GB, free: 157.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.881, allocations: 4.188 kB / 1.098 GB, free: 157.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01715/1.899, allocations: 5.912 MB / 1.104 GB, free: 151.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/1.902, allocations: 382.4 kB / 1.104 GB, free: 151.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.131/2.033, allocations: 59.04 MB / 1.162 GB, free: 91.79 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/2.034, allocations: 2.451 MB / 1.164 GB, free: 89.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001445/2.036, allocations: 379.2 kB / 1.165 GB, free: 88.92 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001882/2.038, allocations: 1.999 MB / 1.167 GB, free: 86.92 MB / 0.7325 GB Notification: Performance of SimCode: time 9.12e-07/2.038, allocations: 3.938 kB / 1.167 GB, free: 86.92 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4739/2.511, allocations: 135.6 MB / 1.299 GB, free: 245.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.4/25.91, allocations: 13.5 kB / 1.299 GB, free: 245.6 MB / 0.7481 GB " [Timeout remaining time 634] (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: 30.072256488958374] Failed to read output from testmodel.py, exit status != 0: 26.097086106194183 26.110926334 25.599861939 Calling exit ...