Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.001399/0.001399, 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.483/1.483, allocations: 230.6 MB / 252.6 MB, free: 8.301 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.001676/0.001676, allocations: 218.4 kB / 309.2 MB, free: 3.125 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.5849/0.5849, allocations: 101.3 MB / 467 MB, free: 10.31 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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_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.002473/0.002473, allocations: 86.33 kB / 0.6246 GB, free: 12.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5394/0.5418, allocations: 78.61 MB / 0.7013 GB, free: 8.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.02097/0.5628, allocations: 22.06 MB / 0.7229 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01526/0.5781, allocations: 4.948 MB / 0.7277 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007126/0.5852, allocations: 44.34 kB / 0.7277 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004693/0.5899, allocations: 0.8889 MB / 0.7286 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01166/0.6015, allocations: 2.328 MB / 0.7309 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007309/0.6089, allocations: 2.066 MB / 0.7329 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01371/0.6226, allocations: 5.81 MB / 0.7386 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002628/0.6252, allocations: 0.9125 MB / 0.7395 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005927/0.6311, allocations: 2.415 MB / 0.7418 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007077/0.6382, allocations: 2.991 MB / 0.7447 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00276/0.641, allocations: 443.2 kB / 0.7452 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00374/0.6447, allocations: 0.6111 MB / 0.7458 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001979/0.6467, allocations: 1.163 MB / 0.7469 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00552/0.6522, allocations: 2.631 MB / 0.7495 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01201/0.6642, allocations: 6.31 MB / 0.7556 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.6642, allocations: 1.344 kB / 0.7556 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6642, allocations: 0 / 0.7556 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003368/0.6645, allocations: 0 / 0.7556 GB, free: 3.785 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03733/0.7019, allocations: 9.968 MB / 0.7654 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.7019, allocations: 13.81 kB / 0.7654 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009233/0.7029, allocations: 485.3 kB / 0.7658 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02746/0.7303, allocations: 4.056 MB / 0.7698 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007138/0.7375, allocations: 2.606 MB / 0.7723 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001169/0.7386, allocations: 1.033 MB / 0.7734 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001274/0.7399, allocations: 348 kB / 0.7737 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01072/0.7506, allocations: 4.739 MB / 0.7783 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.42e-05/0.7507, allocations: 3.938 kB / 0.7783 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003858/0.7511, allocations: 140 kB / 0.7784 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.025e-05/0.7511, allocations: 91.94 kB / 0.7785 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009593/0.7607, allocations: 4.26 MB / 0.7827 GB, free: 12.71 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.04028/0.801, allocations: 18.08 MB / 0.8004 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01351/0.8145, allocations: 4.356 MB / 0.8046 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006752/0.8213, allocations: 2.486 MB / 0.807 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008169/0.8221, allocations: 70.94 kB / 0.8071 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008377/0.8305, allocations: 3.193 MB / 0.8102 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=384): time 9.568e-06/0.8305, allocations: 0 / 0.8102 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=384): time 0.3113/1.142, allocations: 67.5 MB / 0.8761 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/1.142, allocations: 145.8 kB / 0.8763 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008468/1.15, allocations: 3.258 MB / 0.8795 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001315/1.152, allocations: 97.73 kB / 0.8796 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002394/1.154, allocations: 1.997 MB / 0.8815 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003122/1.157, allocations: 1.386 MB / 0.8829 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004065/1.161, allocations: 0.6823 MB / 0.8835 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.161, allocations: 305.1 kB / 0.8838 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006911/1.168, allocations: 2.605 MB / 0.8864 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007189/1.176, allocations: 3.233 MB / 0.8895 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07434/1.25, allocations: 19.21 MB / 0.9083 GB, free: 10.12 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-05/1.25, allocations: 4 kB / 0.9083 GB, free: 10.12 MB / 0.67 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.05754/1.307, allocations: 17.2 MB / 0.9251 GB, free: 8.867 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/1.308, allocations: 63.41 kB / 0.9251 GB, free: 8.793 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.545e-05/1.308, allocations: 12 kB / 0.9251 GB, free: 8.781 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0265/1.334, allocations: 7.154 MB / 0.9321 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003979/1.338, allocations: 0.6943 MB / 0.9328 GB, free: 0.9258 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09065/1.429, allocations: 33.24 MB / 0.9653 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007421/1.436, allocations: 0.6299 MB / 0.9659 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/1.437, allocations: 148 kB / 0.966 GB, free: 14.75 MB / 0.7325 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.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 (407): * Single equations (assignments): 404 * 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.002529/1.44, allocations: 0.6796 MB / 0.9667 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001514/1.441, allocations: 484.9 kB / 0.9672 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4153/1.857, allocations: 16.74 MB / 0.9835 GB, free: 232.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.438e-05/1.857, allocations: 45.91 kB / 0.9835 GB, free: 232.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.924e-05/1.857, allocations: 28.22 kB / 0.9836 GB, free: 232.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001475/1.857, allocations: 19.36 kB / 0.9836 GB, free: 232.1 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.06814/1.925, allocations: 21.72 MB / 1.005 GB, free: 228.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.324e-05/1.925, allocations: 0 / 1.005 GB, free: 228.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002458/1.928, allocations: 398.4 kB / 1.005 GB, free: 228.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02612/1.954, allocations: 7.373 MB / 1.012 GB, free: 227.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001202/1.955, allocations: 73.69 kB / 1.012 GB, free: 227.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07258/2.028, allocations: 31.62 MB / 1.043 GB, free: 214 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/2.028, allocations: 0 / 1.043 GB, free: 214 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05557/2.083, allocations: 20.15 MB / 1.063 GB, free: 193.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002283/2.085, allocations: 0.5143 MB / 1.064 GB, free: 193.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001784/2.087, allocations: 64 kB / 1.064 GB, free: 193.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005097/2.092, allocations: 375.5 kB / 1.064 GB, free: 193 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003035/2.095, allocations: 0.8231 MB / 1.065 GB, free: 192.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000439/2.096, allocations: 91.98 kB / 1.065 GB, free: 192.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002976/2.099, allocations: 2.137 MB / 1.067 GB, free: 189.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/2.099, allocations: 0 / 1.067 GB, free: 189.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006225/2.105, allocations: 1.813 MB / 1.069 GB, free: 188.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (248): * Single equations (assignments): 245 * 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 {(100,36,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.05506/2.16, allocations: 20.82 MB / 1.089 GB, free: 167.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02311/2.183, allocations: 8.804 MB / 1.098 GB, free: 158.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/2.183, allocations: 0 / 1.098 GB, free: 158.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01814/2.201, allocations: 5.908 MB / 1.103 GB, free: 152.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003793/2.205, allocations: 383.8 kB / 1.104 GB, free: 152.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1397/2.345, allocations: 59.01 MB / 1.161 GB, free: 92.32 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001548/2.346, allocations: 2.451 MB / 1.164 GB, free: 89.83 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001601/2.348, allocations: 383.1 kB / 1.164 GB, free: 89.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001965/2.35, allocations: 2.034 MB / 1.166 GB, free: 87.41 MB / 0.7325 GB Notification: Performance of SimCode: time 1.843e-06/2.35, allocations: 4 kB / 1.166 GB, free: 87.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5672/2.917, allocations: 131.5 MB / 1.295 GB, free: 243.1 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.31/28.23, allocations: 6.172 kB / 1.295 GB, free: 243.1 MB / 0.7481 GB " [Timeout remaining time 632] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 32.27245545800179] Failed to read output from testmodel.py, exit status != 0: 28.4165757999981 28.438827472 27.769900224 Calling exit ...