Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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: 114.3 kB / 18.94 MB, free: 2.934 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.369/1.369, allocations: 230.6 MB / 252.6 MB, free: 8.293 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.00159/0.00159, allocations: 211 kB / 309.2 MB, free: 3.152 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.5303/0.5303, allocations: 101.3 MB / 467 MB, free: 10.34 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.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_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.002416/0.002416, allocations: 91.84 kB / 0.6245 GB, free: 12.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4614/0.4639, allocations: 78.59 MB / 0.7012 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.006047/0.4699, allocations: 6.613 MB / 0.7077 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003227/0.4731, allocations: 2.017 MB / 0.7096 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004189/0.4735, allocations: 9.5 kB / 0.7096 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006162/0.4742, allocations: 242.7 kB / 0.7099 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.4758, allocations: 0.8642 MB / 0.7107 GB, free: 2.344 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.4769, allocations: 0.6317 MB / 0.7113 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.4783, allocations: 1.606 MB / 0.7129 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003384/0.4786, allocations: 224.9 kB / 0.7131 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007103/0.4793, allocations: 0.6841 MB / 0.7138 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000897/0.4802, allocations: 0.8466 MB / 0.7146 GB, free: 372 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.4804, allocations: 123.2 kB / 0.7147 GB, free: 372 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004393/0.4808, allocations: 279.5 kB / 0.715 GB, free: 320 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002663/0.4811, allocations: 332.3 kB / 0.7153 GB, free: 100 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006387/0.4817, allocations: 0.6674 MB / 0.716 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001999/0.4837, allocations: 1.687 MB / 0.7176 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4837, allocations: 0 / 0.7176 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4837, allocations: 0 / 0.7176 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.654e-05/0.4837, allocations: 0 / 0.7176 GB, free: 14.88 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.009185/0.4929, allocations: 2.82 MB / 0.7204 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.493, allocations: 11.03 kB / 0.7204 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001793/0.4932, allocations: 123.9 kB / 0.7205 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005091/0.4982, allocations: 0.81 MB / 0.7213 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/0.4999, allocations: 0.8288 MB / 0.7221 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003796/0.5003, allocations: 330.9 kB / 0.7224 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.5005, allocations: 87.41 kB / 0.7225 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/0.5029, allocations: 1.091 MB / 0.7236 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.5029, allocations: 0.6562 kB / 0.7236 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.503, allocations: 30.41 kB / 0.7236 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.5031, allocations: 22.27 kB / 0.7236 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.5054, allocations: 0.9865 MB / 0.7246 GB, free: 11.65 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.007863/0.5133, allocations: 3.751 MB / 0.7282 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007548/0.5208, allocations: 1.998 MB / 0.7302 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.5222, allocations: 0.6171 MB / 0.7308 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.5223, allocations: 19.19 kB / 0.7308 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001707/0.524, allocations: 0.8228 MB / 0.7316 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=95): time 3.046e-06/0.524, allocations: 0 / 0.7316 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=95): time 0.02832/0.5523, allocations: 7.012 MB / 0.7385 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.634e-05/0.5524, allocations: 118.4 kB / 0.7386 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/0.5543, allocations: 1.094 MB / 0.7396 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001876/0.5545, allocations: 42.33 kB / 0.7397 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004593/0.555, allocations: 0.4956 MB / 0.7402 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004559/0.5554, allocations: 370.9 kB / 0.7405 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005399/0.556, allocations: 287.5 kB / 0.7408 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5561, allocations: 301.1 kB / 0.7411 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/0.5578, allocations: 0.7559 MB / 0.7418 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.5596, allocations: 0.9229 MB / 0.7427 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02452/0.5841, allocations: 5.773 MB / 0.7484 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/0.5841, allocations: 1.375 kB / 0.7484 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01403/0.5981, allocations: 4.346 MB / 0.7526 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.06e-05/0.5982, allocations: 59.41 kB / 0.7527 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.5982, allocations: 4 kB / 0.7527 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005967/0.6042, allocations: 1.592 MB / 0.7542 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.6057, allocations: 279.6 kB / 0.7545 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02171/0.6274, allocations: 8.407 MB / 0.7627 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/0.6296, allocations: 211.1 kB / 0.7629 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003138/0.6299, allocations: 59.95 kB / 0.763 GB, free: 0.6719 MB / 0.5137 GB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.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 order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (160): * Single equations (assignments): 157 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009974/0.6309, allocations: 292.2 kB / 0.7632 GB, free: 380 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004683/0.6314, allocations: 135.2 kB / 0.7634 GB, free: 244 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01344/0.6448, allocations: 3.842 MB / 0.7671 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.6448, allocations: 8 kB / 0.7671 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.467e-05/0.6448, allocations: 12 kB / 0.7671 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/0.6449, allocations: 7.969 kB / 0.7671 GB, free: 12.34 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.01599/0.6609, allocations: 5.404 MB / 0.7724 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.6609, allocations: 0 / 0.7724 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006222/0.6615, allocations: 99.89 kB / 0.7725 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005719/0.6672, allocations: 1.603 MB / 0.7741 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000154/0.6674, allocations: 19.98 kB / 0.7741 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0221/0.6895, allocations: 9.44 MB / 0.7833 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.6895, allocations: 8 kB / 0.7833 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01518/0.7046, allocations: 4.712 MB / 0.7879 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005454/0.7052, allocations: 150.9 kB / 0.7881 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004086/0.7056, allocations: 28 kB / 0.7881 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/0.707, allocations: 108.1 kB / 0.7882 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006744/0.7076, allocations: 212.6 kB / 0.7884 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.7078, allocations: 23.94 kB / 0.7884 GB, free: 6.156 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001427/0.7092, allocations: 0.7354 MB / 0.7891 GB, free: 5.414 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.7092, allocations: 0 / 0.7891 GB, free: 5.414 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001836/0.711, allocations: 479.7 kB / 0.7896 GB, free: 4.945 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01541/0.7264, allocations: 5.289 MB / 0.7948 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006923/0.7334, allocations: 2.383 MB / 0.7971 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.7334, allocations: 3.938 kB / 0.7971 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004621/0.738, allocations: 1.525 MB / 0.7986 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.7394, allocations: 121.3 kB / 0.7987 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0419/0.7813, allocations: 16.03 MB / 0.8144 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009883/0.7823, allocations: 1.116 MB / 0.8154 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006094/0.7829, allocations: 120 kB / 0.8156 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008259/0.7837, allocations: 479.3 kB / 0.816 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of SimCode: time 1.192e-06/0.7837, allocations: 4 kB / 0.816 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08929/0.873, allocations: 35.62 MB / 0.8508 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/15.89, allocations: 17.17 kB / 0.8508 GB, free: 6.016 MB / 0.6075 GB " [Timeout remaining time 644] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.228167729917914] Failed to read output from testmodel.py, exit status != 0: 16.026708350982517 16.051007067 15.562331717 Calling exit ...