Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.001443/0.001443, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.56/1.56, allocations: 230.6 MB / 253.4 MB, free: 14.29 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.0016/0.0016, allocations: 208.2 kB / 310 MB, free: 3.105 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5312/0.5312, allocations: 79.73 MB / 446.2 MB, free: 40.34 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="cs",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.00244/0.00244, allocations: 85.55 kB / 0.5936 GB, free: 38.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1472, allocations: 73.3 MB / 0.6652 GB, free: 352 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.008081/0.1553, allocations: 5.895 MB / 0.671 GB, free: 11.85 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004988/0.1603, allocations: 1.986 MB / 0.6729 GB, free: 9.852 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.1613, allocations: 8 kB / 0.6729 GB, free: 9.844 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008368/0.1622, allocations: 237.9 kB / 0.6731 GB, free: 9.609 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002531/0.1647, allocations: 0.8706 MB / 0.674 GB, free: 8.738 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.1662, allocations: 0.6419 MB / 0.6746 GB, free: 8.102 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002266/0.1684, allocations: 1.702 MB / 0.6763 GB, free: 6.395 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004592/0.1689, allocations: 230.9 kB / 0.6765 GB, free: 6.156 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.1702, allocations: 0.7198 MB / 0.6772 GB, free: 5.434 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.1716, allocations: 0.8869 MB / 0.6781 GB, free: 4.543 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002729/0.1718, allocations: 132 kB / 0.6782 GB, free: 4.414 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007942/0.1726, allocations: 287.9 kB / 0.6785 GB, free: 4.133 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00046/0.1731, allocations: 354.5 kB / 0.6788 GB, free: 3.785 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007585/0.1739, allocations: 0.571 MB / 0.6794 GB, free: 3.211 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002726/0.1766, allocations: 1.778 MB / 0.6811 GB, free: 1.426 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.1766, allocations: 0 / 0.6811 GB, free: 1.426 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1766, allocations: 0 / 0.6811 GB, free: 1.426 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.127e-05/0.1766, allocations: 0 / 0.6811 GB, free: 1.426 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.01136/0.188, allocations: 2.917 MB / 0.6839 GB, free: 14.45 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.188, allocations: 8.031 kB / 0.684 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.17e-05/0.1881, allocations: 18 kB / 0.684 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001771/0.1883, allocations: 130.7 kB / 0.6841 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005368/0.1936, allocations: 0.803 MB / 0.6849 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001966/0.1956, allocations: 0.8623 MB / 0.6857 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003644/0.196, allocations: 337.3 kB / 0.686 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/0.1962, allocations: 84 kB / 0.6861 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002375/0.1985, allocations: 1.143 MB / 0.6872 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.1986, allocations: 0 / 0.6872 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.1987, allocations: 32 kB / 0.6873 GB, free: 10.92 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.1987, allocations: 23.94 kB / 0.6873 GB, free: 10.9 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002144/0.2008, allocations: 1.028 MB / 0.6883 GB, free: 9.863 MB / 478.1 MB 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.007111/0.2079, allocations: 3.015 MB / 0.6912 GB, free: 6.777 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007669/0.2156, allocations: 2.069 MB / 0.6933 GB, free: 4.68 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.2172, allocations: 0.6596 MB / 0.6939 GB, free: 4.008 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.2173, allocations: 13 kB / 0.6939 GB, free: 3.996 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001823/0.2191, allocations: 0.8662 MB / 0.6948 GB, free: 3.105 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 3.397e-06/0.2191, allocations: 4 kB / 0.6948 GB, free: 3.102 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.02961/0.2487, allocations: 6.955 MB / 0.7016 GB, free: 12.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.2489, allocations: 123.7 kB / 0.7017 GB, free: 11.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002586/0.2514, allocations: 1.139 MB / 0.7028 GB, free: 10.81 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003133/0.2518, allocations: 41.7 kB / 0.7028 GB, free: 10.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000523/0.2523, allocations: 0.5054 MB / 0.7033 GB, free: 10.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000572/0.2529, allocations: 388.7 kB / 0.7037 GB, free: 9.867 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006104/0.2535, allocations: 303.4 kB / 0.704 GB, free: 9.566 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2536, allocations: 305.1 kB / 0.7043 GB, free: 9.266 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/0.2554, allocations: 0.8505 MB / 0.7051 GB, free: 8.402 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/0.2574, allocations: 1.024 MB / 0.7061 GB, free: 7.328 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02827/0.2857, allocations: 6.141 MB / 0.7121 GB, free: 1.102 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/0.2857, allocations: 0 / 0.7121 GB, free: 1.102 MB / 494.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01501/0.3007, allocations: 4.543 MB / 0.7165 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.3008, allocations: 65.27 kB / 0.7166 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.3008, allocations: 0 / 0.7166 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006931/0.3078, allocations: 1.666 MB / 0.7182 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/0.3096, allocations: 299.6 kB / 0.7185 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02261/0.3322, allocations: 8.347 MB / 0.7267 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002355/0.3345, allocations: 211.2 kB / 0.7269 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003723/0.3349, allocations: 55.98 kB / 0.7269 GB, free: 1.75 MB / 0.4981 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 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 order6.delta:VARIABLE(flow=false start = order6.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 (171): * Single equations (assignments): 168 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009943/0.3359, allocations: 308.1 kB / 0.7272 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004676/0.3364, allocations: 135.1 kB / 0.7273 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01361/0.35, allocations: 3.918 MB / 0.7312 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.632e-05/0.35, allocations: 12 kB / 0.7312 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.95e-05/0.35, allocations: 8 kB / 0.7312 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.164e-05/0.35, allocations: 3.984 kB / 0.7312 GB, free: 13.32 MB / 0.5137 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.01649/0.3665, allocations: 5.065 MB / 0.7361 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/0.3665, allocations: 0 / 0.7361 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008369/0.3674, allocations: 107.8 kB / 0.7362 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005873/0.3733, allocations: 1.587 MB / 0.7378 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002484/0.3735, allocations: 27.94 kB / 0.7378 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02255/0.3961, allocations: 9.246 MB / 0.7469 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.3961, allocations: 0 / 0.7469 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01614/0.4122, allocations: 4.837 MB / 0.7516 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005989/0.4128, allocations: 170.8 kB / 0.7517 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005255/0.4133, allocations: 20 kB / 0.7518 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001658/0.415, allocations: 107.9 kB / 0.7519 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007851/0.4158, allocations: 200.6 kB / 0.752 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/0.4159, allocations: 32 kB / 0.7521 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001625/0.4176, allocations: 0.7713 MB / 0.7528 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4176, allocations: 0 / 0.7528 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002143/0.4197, allocations: 499.6 kB / 0.7533 GB, free: 6.305 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,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 (66): * Single equations (assignments): 63 * 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.01642/0.4361, allocations: 5.421 MB / 0.7586 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008135/0.4442, allocations: 2.558 MB / 0.7611 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.4443, allocations: 3.938 kB / 0.7611 GB, free: 14.19 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00506/0.4493, allocations: 1.593 MB / 0.7627 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.4509, allocations: 118.8 kB / 0.7628 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04789/0.4988, allocations: 17.01 MB / 0.7794 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008524/0.4997, allocations: 0.5441 MB / 0.7799 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00081/0.5005, allocations: 124.3 kB / 0.78 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009777/0.5015, allocations: 491.3 kB / 0.7805 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of SimCode: time 1.823e-06/0.5015, allocations: 0 / 0.7805 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4515/0.953, allocations: 38.21 MB / 0.8178 GB, free: 132.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.98/17.93, allocations: 2.875 kB / 0.8178 GB, free: 132.8 MB / 0.5762 GB " [Timeout remaining time 642] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.898672097013332] Failed to read output from testmodel.py, exit status != 0: 18.12731273600366 18.152621401 17.971991894 Calling exit ...