Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001365/0.001365, allocations: 110.4 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.35/1.35, allocations: 230.6 MB / 252.6 MB, free: 8.281 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.001534/0.001534, allocations: 204.8 kB / 309.2 MB, free: 3.148 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.5251/0.5251, allocations: 101.3 MB / 467 MB, free: 10.76 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.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_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.002419/0.002419, allocations: 83.88 kB / 0.6246 GB, free: 12.81 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4404, allocations: 78.6 MB / 0.7013 GB, free: 8.945 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01896/0.4594, allocations: 21.97 MB / 0.7228 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0129/0.4723, allocations: 4.918 MB / 0.7276 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004472/0.4767, allocations: 47.72 kB / 0.7276 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002407/0.4792, allocations: 0.8943 MB / 0.7285 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007844/0.487, allocations: 2.314 MB / 0.7307 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005647/0.4926, allocations: 2.055 MB / 0.7328 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01111/0.5038, allocations: 5.749 MB / 0.7384 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002026/0.5058, allocations: 0.9132 MB / 0.7393 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005141/0.5109, allocations: 2.393 MB / 0.7416 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005733/0.5167, allocations: 2.96 MB / 0.7445 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001282/0.5179, allocations: 435.8 kB / 0.7449 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002076/0.52, allocations: 0.601 MB / 0.7455 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001124/0.5211, allocations: 1.154 MB / 0.7466 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003281/0.5244, allocations: 2.602 MB / 0.7492 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008207/0.5326, allocations: 6.272 MB / 0.7553 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.5326, allocations: 0 / 0.7553 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5326, allocations: 0 / 0.7553 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001747/0.5328, allocations: 0 / 0.7553 GB, free: 4.09 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.03234/0.5651, allocations: 9.902 MB / 0.765 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.5652, allocations: 8.25 kB / 0.765 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006474/0.5658, allocations: 499 kB / 0.7654 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02618/0.592, allocations: 4.048 MB / 0.7694 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006644/0.5987, allocations: 2.574 MB / 0.7719 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001108/0.5998, allocations: 1.036 MB / 0.7729 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00118/0.601, allocations: 352 kB / 0.7732 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009615/0.6106, allocations: 4.727 MB / 0.7779 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.321e-05/0.6106, allocations: 0 / 0.7779 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003639/0.611, allocations: 140 kB / 0.778 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.476e-05/0.6111, allocations: 84 kB / 0.7781 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008878/0.6199, allocations: 4.248 MB / 0.7822 GB, free: 13.22 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.0363/0.6562, allocations: 18.05 MB / 0.7999 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01237/0.6686, allocations: 4.347 MB / 0.8041 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006472/0.6751, allocations: 2.474 MB / 0.8065 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007536/0.6758, allocations: 70.89 kB / 0.8066 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008088/0.6839, allocations: 3.185 MB / 0.8097 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=383): time 8.806e-06/0.6839, allocations: 3.938 kB / 0.8097 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=383): time 0.2929/0.9768, allocations: 67.76 MB / 0.8759 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.9769, allocations: 145.8 kB / 0.876 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005679/0.9826, allocations: 3.218 MB / 0.8792 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008476/0.9834, allocations: 89.7 kB / 0.8792 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001782/0.9852, allocations: 2.009 MB / 0.8812 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002252/0.9875, allocations: 1.367 MB / 0.8825 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002665/0.9901, allocations: 0.6862 MB / 0.8832 GB, free: 4.32 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.9903, allocations: 305.1 kB / 0.8835 GB, free: 4.02 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006102/0.9964, allocations: 2.585 MB / 0.886 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006774/1.003, allocations: 3.21 MB / 0.8892 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07124/1.074, allocations: 19 MB / 0.9077 GB, free: 10.72 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.283e-05/1.074, allocations: 4 kB / 0.9077 GB, free: 10.72 MB / 0.67 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.05802/1.132, allocations: 17.15 MB / 0.9245 GB, free: 9.523 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 9.214e-05/1.133, allocations: 63.41 kB / 0.9245 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-05/1.133, allocations: 12 kB / 0.9245 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02629/1.159, allocations: 7.154 MB / 0.9315 GB, free: 2.277 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003561/1.162, allocations: 0.6786 MB / 0.9322 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09214/1.255, allocations: 33.22 MB / 0.9646 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006414/1.261, allocations: 0.6221 MB / 0.9652 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007308/1.262, allocations: 160 kB / 0.9654 GB, free: 15.43 MB / 0.7325 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 (403): * Single equations (assignments): 400 * 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.002329/1.264, allocations: 0.6718 MB / 0.966 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001226/1.265, allocations: 480.9 kB / 0.9665 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3527/1.618, allocations: 16.71 MB / 0.9828 GB, free: 231.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.257e-05/1.618, allocations: 44.41 kB / 0.9829 GB, free: 231.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.723e-05/1.618, allocations: 27.88 kB / 0.9829 GB, free: 231.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-05/1.618, allocations: 20.52 kB / 0.9829 GB, free: 231.7 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.06141/1.68, allocations: 21.68 MB / 1.004 GB, free: 228.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-05/1.68, allocations: 2.625 kB / 1.004 GB, free: 228.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002169/1.682, allocations: 391.5 kB / 1.004 GB, free: 228.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0243/1.706, allocations: 7.349 MB / 1.012 GB, free: 227.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00081/1.707, allocations: 73.5 kB / 1.012 GB, free: 227.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06925/1.776, allocations: 31.65 MB / 1.043 GB, free: 214 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.776, allocations: 0 / 1.043 GB, free: 214 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05459/1.831, allocations: 20.1 MB / 1.062 GB, free: 194.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001688/1.832, allocations: 0.5044 MB / 1.063 GB, free: 194.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001019/1.833, allocations: 72 kB / 1.063 GB, free: 194.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004029/1.837, allocations: 375.7 kB / 1.063 GB, free: 193.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002618/1.84, allocations: 0.8191 MB / 1.064 GB, free: 193.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002574/1.84, allocations: 95.98 kB / 1.064 GB, free: 193 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002357/1.843, allocations: 2.105 MB / 1.066 GB, free: 190.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/1.843, allocations: 0 / 1.066 GB, free: 190.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004276/1.847, allocations: 1.803 MB / 1.068 GB, free: 189.1 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.0545/1.901, allocations: 20.77 MB / 1.088 GB, free: 168.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02189/1.923, allocations: 8.765 MB / 1.097 GB, free: 159.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/1.923, allocations: 1.938 kB / 1.097 GB, free: 159.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01649/1.94, allocations: 5.859 MB / 1.102 GB, free: 153.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/1.943, allocations: 385 kB / 1.103 GB, free: 153.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1324/2.075, allocations: 58.67 MB / 1.16 GB, free: 93.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/2.077, allocations: 2.443 MB / 1.162 GB, free: 91.27 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001463/2.078, allocations: 379.1 kB / 1.163 GB, free: 90.89 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001847/2.08, allocations: 1.979 MB / 1.165 GB, free: 88.91 MB / 0.7325 GB Notification: Performance of SimCode: time 1.322e-06/2.08, allocations: 0 / 1.165 GB, free: 88.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4745/2.554, allocations: 130.7 MB / 1.292 GB, free: 241 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.26/24.81, allocations: 3.344 kB / 1.292 GB, free: 241 MB / 0.7481 GB " [Timeout remaining time 635] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.896730857901275] Failed to read output from testmodel.py, exit status != 0: 24.997608745936304 25.015859599 24.479814881 Calling exit ...