Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.001004/0.001004, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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 0.923/0.923, allocations: 177.1 MB / 199.4 MB, free: 5.949 MB / 186.7 MB " [Timeout remaining time 179] 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.001522/0.001522, allocations: 164.5 kB / 256 MB, free: 13.35 MB / 250.7 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.2662/0.2662, allocations: 80.36 MB / 392.7 MB, free: 2.379 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.555 GB, free: 12.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.237e-05, allocations: 6.281 kB / 0.555 GB, free: 12.58 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.005648/0.00567, allocations: 5.805 MB / 0.5606 GB, free: 6.746 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003436/0.009106, allocations: 1.924 MB / 0.5625 GB, free: 4.816 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005007/0.009607, allocations: 16 kB / 0.5625 GB, free: 4.801 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009001/0.01051, allocations: 241.8 kB / 0.5628 GB, free: 4.562 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.01199, allocations: 0.8552 MB / 0.5636 GB, free: 3.707 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008526/0.01284, allocations: 0.6506 MB / 0.5642 GB, free: 3.059 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.01408, allocations: 1.592 MB / 0.5658 GB, free: 1.461 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003214/0.0144, allocations: 218.8 kB / 0.566 GB, free: 1.234 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008982/0.0153, allocations: 0.8961 MB / 0.5669 GB, free: 344 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005973/0.01589, allocations: 0.6697 MB / 0.5675 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.01604, allocations: 131.9 kB / 0.5677 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003386/0.01638, allocations: 271.8 kB / 0.5679 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.01662, allocations: 334.5 kB / 0.5682 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003825/0.017, allocations: 462.5 kB / 0.5687 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.0185, allocations: 1.721 MB / 0.5704 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.0185, allocations: 4 kB / 0.5704 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.653e-06/0.0185, allocations: 0 / 0.5704 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.808e-05/0.01853, allocations: 3.938 kB / 0.5704 GB, free: 12.75 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.005787/0.02432, allocations: 2.796 MB / 0.5731 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.02436, allocations: 12.03 kB / 0.5731 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001327/0.0245, allocations: 126.6 kB / 0.5732 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002612/0.02711, allocations: 0.7913 MB / 0.574 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.02825, allocations: 0.8308 MB / 0.5748 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002358/0.02848, allocations: 333.3 kB / 0.5751 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.02861, allocations: 83.94 kB / 0.5752 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.03006, allocations: 1.115 MB / 0.5763 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.03007, allocations: 0 / 0.5763 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-05/0.03014, allocations: 31.94 kB / 0.5763 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.03015, allocations: 16 kB / 0.5763 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.03149, allocations: 1.009 MB / 0.5773 GB, free: 5.426 MB / 0.4948 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.004489/0.03598, allocations: 2.988 MB / 0.5802 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003869/0.03985, allocations: 2.015 MB / 0.5822 GB, free: 340 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009177/0.04076, allocations: 0.6426 MB / 0.5828 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.617e-05/0.04084, allocations: 17 kB / 0.5829 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00115/0.04199, allocations: 0.839 MB / 0.5837 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=96): time 2.575e-06/0.04199, allocations: 0 / 0.5837 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96): time 0.01543/0.05743, allocations: 6.958 MB / 0.5905 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/0.0575, allocations: 115.8 kB / 0.5906 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.05857, allocations: 1.091 MB / 0.5916 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.862e-05/0.05863, allocations: 41.7 kB / 0.5917 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003063/0.05894, allocations: 0.4937 MB / 0.5922 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002574/0.0592, allocations: 376.8 kB / 0.5925 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003407/0.05954, allocations: 283.5 kB / 0.5928 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.05966, allocations: 309.1 kB / 0.5931 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.06078, allocations: 0.8115 MB / 0.5939 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.06197, allocations: 0.9958 MB / 0.5949 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.277/0.339, allocations: 5.794 MB / 0.6005 GB, free: 91.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.068e-05/0.339, allocations: 0 / 0.6005 GB, free: 91.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.007166/0.3462, allocations: 4.367 MB / 0.6048 GB, free: 90.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.718e-05/0.3462, allocations: 65.95 kB / 0.6048 GB, free: 90.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.3462, allocations: 4.188 kB / 0.6048 GB, free: 90.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002817/0.349, allocations: 1.498 MB / 0.6063 GB, free: 90.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007673/0.3498, allocations: 300.3 kB / 0.6066 GB, free: 90.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01259/0.3624, allocations: 7.989 MB / 0.6144 GB, free: 86.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.3637, allocations: 209.6 kB / 0.6146 GB, free: 86.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.3638, allocations: 60.11 kB / 0.6147 GB, free: 86.5 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.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: 13 * 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 (166): * Single equations (assignments): 163 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005634/0.3643, allocations: 302 kB / 0.6149 GB, free: 86.26 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.3646, allocations: 132.9 kB / 0.6151 GB, free: 86.19 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008433/0.373, allocations: 3.866 MB / 0.6188 GB, free: 85.26 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.373, allocations: 9.438 kB / 0.6189 GB, free: 85.26 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.373, allocations: 15.22 kB / 0.6189 GB, free: 85.25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.928e-05/0.3731, allocations: 6.891 kB / 0.6189 GB, free: 85.25 MB / 0.5105 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.009569/0.3826, allocations: 4.988 MB / 0.6237 GB, free: 83.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.3826, allocations: 4.031 kB / 0.6238 GB, free: 83.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/0.3829, allocations: 101.6 kB / 0.6238 GB, free: 83.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002818/0.3857, allocations: 1.586 MB / 0.6254 GB, free: 83.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-05/0.3858, allocations: 29.09 kB / 0.6254 GB, free: 83.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/0.3975, allocations: 9.238 MB / 0.6344 GB, free: 78.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3975, allocations: 8.969 kB / 0.6345 GB, free: 78.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007688/0.4052, allocations: 4.77 MB / 0.6391 GB, free: 76.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.4053, allocations: 148.2 kB / 0.6393 GB, free: 76.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.4054, allocations: 27.16 kB / 0.6393 GB, free: 76.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005202/0.406, allocations: 106.4 kB / 0.6394 GB, free: 76.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003185/0.4063, allocations: 202.7 kB / 0.6396 GB, free: 75.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.767e-05/0.4063, allocations: 31.2 kB / 0.6396 GB, free: 75.89 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006206/0.4069, allocations: 0.7313 MB / 0.6403 GB, free: 75.48 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4069, allocations: 0 / 0.6403 GB, free: 75.48 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009858/0.4079, allocations: 475 kB / 0.6408 GB, free: 75.42 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,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 (64): * Single equations (assignments): 61 * 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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007526/0.4155, allocations: 5.36 MB / 0.646 GB, free: 70.98 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003511/0.419, allocations: 2.425 MB / 0.6484 GB, free: 68.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.419, allocations: 4 kB / 0.6484 GB, free: 68.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002093/0.4211, allocations: 1.554 MB / 0.6499 GB, free: 66.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005617/0.4216, allocations: 117.7 kB / 0.65 GB, free: 66.79 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01955/0.4412, allocations: 16.08 MB / 0.6657 GB, free: 50.49 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.4416, allocations: 0.5316 MB / 0.6662 GB, free: 49.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003098/0.4419, allocations: 122.6 kB / 0.6663 GB, free: 49.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004407/0.4423, allocations: 472.3 kB / 0.6668 GB, free: 49.34 MB / 0.5105 GB Notification: Performance of SimCode: time 1.773e-06/0.4423, allocations: 0 / 0.6668 GB, free: 49.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05653/0.4988, allocations: 37.7 MB / 0.7036 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.367/9.866, allocations: 12.69 kB / 0.7036 GB, free: 11.94 MB / 0.5105 GB " [Timeout remaining time 650] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.386496659368277] Failed to read output from testmodel.py, exit status != 0: 9.977434140630066 9.985582533 9.965181019 Calling exit ...