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.001394/0.001394, 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.409/1.409, allocations: 230.6 MB / 252.6 MB, free: 8.312 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.001628/0.001628, allocations: 219.5 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.5546/0.5546, allocations: 101.3 MB / 467 MB, free: 10.36 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.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: 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.002819/0.002819, allocations: 88.11 kB / 0.6244 GB, free: 12.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.476/0.4788, allocations: 78.6 MB / 0.7012 GB, free: 9.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.006354/0.4852, allocations: 6.673 MB / 0.7077 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003577/0.4888, allocations: 2.022 MB / 0.7097 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004547/0.4892, allocations: 10.44 kB / 0.7097 GB, free: 3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006209/0.4898, allocations: 242.2 kB / 0.7099 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.4915, allocations: 0.8601 MB / 0.7108 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.4927, allocations: 0.644 MB / 0.7114 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001479/0.4941, allocations: 1.617 MB / 0.713 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003413/0.4945, allocations: 225.7 kB / 0.7132 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000717/0.4952, allocations: 0.6787 MB / 0.7139 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008837/0.4961, allocations: 0.8432 MB / 0.7147 GB, free: 324 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.4962, allocations: 121.2 kB / 0.7148 GB, free: 324 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004616/0.4967, allocations: 279.1 kB / 0.7151 GB, free: 272 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.497, allocations: 338.3 kB / 0.7154 GB, free: 44 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006702/0.4977, allocations: 0.6665 MB / 0.716 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.4997, allocations: 1.691 MB / 0.7177 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4997, allocations: 2.906 kB / 0.7177 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4997, allocations: 0 / 0.7177 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.362e-05/0.4997, allocations: 4 kB / 0.7177 GB, free: 14.82 MB / 0.4981 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.00874/0.5085, allocations: 2.809 MB / 0.7204 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.5085, allocations: 9.781 kB / 0.7204 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001555/0.5086, allocations: 126.1 kB / 0.7206 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005007/0.5137, allocations: 0.7962 MB / 0.7213 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.5152, allocations: 0.8289 MB / 0.7222 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003485/0.5156, allocations: 338.9 kB / 0.7225 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.5158, allocations: 90.25 kB / 0.7226 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002334/0.5181, allocations: 1.086 MB / 0.7236 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.5181, allocations: 3.938 kB / 0.7236 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.5182, allocations: 35.62 kB / 0.7237 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.5182, allocations: 18.53 kB / 0.7237 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/0.5205, allocations: 0.9866 MB / 0.7246 GB, free: 11.6 MB / 0.4981 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.008021/0.5285, allocations: 3.785 MB / 0.7283 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007227/0.5357, allocations: 1.997 MB / 0.7303 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001338/0.5371, allocations: 0.6209 MB / 0.7309 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.5372, allocations: 19.64 kB / 0.7309 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001668/0.5389, allocations: 0.8164 MB / 0.7317 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=96): time 2.234e-06/0.5389, allocations: 0 / 0.7317 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.02724/0.5661, allocations: 6.896 MB / 0.7384 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.5662, allocations: 126.5 kB / 0.7386 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/0.568, allocations: 1.081 MB / 0.7396 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001572/0.5682, allocations: 50.89 kB / 0.7397 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004489/0.5686, allocations: 499.6 kB / 0.7401 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004496/0.5691, allocations: 374.5 kB / 0.7405 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005332/0.5696, allocations: 290.2 kB / 0.7408 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.5698, allocations: 301.1 kB / 0.7411 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.5714, allocations: 0.7685 MB / 0.7418 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/0.5732, allocations: 0.9333 MB / 0.7427 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0238/0.597, allocations: 5.794 MB / 0.7484 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.597, allocations: 0 / 0.7484 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01339/0.6104, allocations: 4.319 MB / 0.7526 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.636e-05/0.6105, allocations: 61.53 kB / 0.7527 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.6105, allocations: 4 kB / 0.7527 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005392/0.6159, allocations: 1.508 MB / 0.7541 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/0.6174, allocations: 303.6 kB / 0.7544 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01987/0.6373, allocations: 8.173 MB / 0.7624 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002063/0.6393, allocations: 195.1 kB / 0.7626 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.6395, allocations: 63.97 kB / 0.7627 GB, free: 0.9883 MB / 0.5137 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.0006858/0.6402, allocations: 300.3 kB / 0.7629 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002493/0.6404, allocations: 131.1 kB / 0.7631 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/0.6531, allocations: 3.842 MB / 0.7668 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.6532, allocations: 15.98 kB / 0.7668 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.6532, allocations: 8 kB / 0.7668 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.6532, allocations: 11.92 kB / 0.7669 GB, free: 12.64 MB / 0.5294 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.01494/0.6681, allocations: 5.408 MB / 0.7721 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.6681, allocations: 0 / 0.7721 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005742/0.6687, allocations: 99.84 kB / 0.7722 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005408/0.6741, allocations: 1.582 MB / 0.7738 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/0.6742, allocations: 23.98 kB / 0.7738 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02121/0.6954, allocations: 9.44 MB / 0.783 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.6954, allocations: 4 kB / 0.783 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01472/0.7102, allocations: 4.716 MB / 0.7876 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005362/0.7107, allocations: 154.9 kB / 0.7878 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/0.7109, allocations: 16 kB / 0.7878 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.712, allocations: 111.9 kB / 0.7879 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006085/0.7126, allocations: 204.6 kB / 0.7881 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.676e-05/0.7127, allocations: 20 kB / 0.7881 GB, free: 6.488 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001165/0.7138, allocations: 0.7351 MB / 0.7888 GB, free: 5.746 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.7138, allocations: 0 / 0.7888 GB, free: 5.746 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001455/0.7153, allocations: 479.7 kB / 0.7893 GB, free: 5.277 MB / 0.545 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.01486/0.7302, allocations: 5.301 MB / 0.7945 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006335/0.7365, allocations: 2.369 MB / 0.7968 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.7365, allocations: 4 kB / 0.7968 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004247/0.7407, allocations: 1.534 MB / 0.7983 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.7419, allocations: 122.1 kB / 0.7984 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03918/0.781, allocations: 16.03 MB / 0.814 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008027/0.7818, allocations: 1.12 MB / 0.8151 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005793/0.7824, allocations: 124 kB / 0.8153 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006833/0.7831, allocations: 471.3 kB / 0.8157 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/0.7831, allocations: 0 / 0.8157 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08172/0.8648, allocations: 35.56 MB / 0.8504 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/15.88, allocations: 6.641 kB / 0.8504 GB, free: 6.426 MB / 0.6075 GB " [Timeout remaining time 644] (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: 19.32092089089565] Failed to read output from testmodel.py, exit status != 0: 16.017362989019603 16.043475792 15.539099471 Calling exit ...