Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.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.0007284/0.0007284, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.8312/0.8312, allocations: 177.1 MB / 199.4 MB, free: 5.926 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.0009813/0.0009813, allocations: 159.2 kB / 256 MB, free: 13.33 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.258/0.258, allocations: 80.25 MB / 392.6 MB, free: 2.441 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.5549 GB, free: 12.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.134e-05/1.271e-05, allocations: 5.781 kB / 0.5549 GB, free: 12.59 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.0112/0.01121, allocations: 18.61 MB / 0.5731 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006533/0.01775, allocations: 4.885 MB / 0.5779 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.01881, allocations: 44 kB / 0.5779 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.01991, allocations: 0.8827 MB / 0.5788 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002749/0.02266, allocations: 2.365 MB / 0.5811 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.025, allocations: 2.106 MB / 0.5831 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003255/0.02825, allocations: 5.948 MB / 0.5889 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008187/0.02907, allocations: 0.8689 MB / 0.5898 GB, free: 8.707 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/0.03116, allocations: 3.358 MB / 0.5931 GB, free: 5.34 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.03268, allocations: 2.297 MB / 0.5953 GB, free: 3.035 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003562/0.03303, allocations: 448 kB / 0.5957 GB, free: 2.598 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000607/0.03364, allocations: 0.6052 MB / 0.5963 GB, free: 1.992 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.00055/0.03419, allocations: 1.19 MB / 0.5975 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.171/0.2052, allocations: 1.745 MB / 0.5992 GB, free: 64.49 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003967/0.2091, allocations: 6.399 MB / 0.6054 GB, free: 64.08 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2091, allocations: 3.406 kB / 0.6054 GB, free: 64.08 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2091, allocations: 0 / 0.6054 GB, free: 64.08 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.323e-05/0.2092, allocations: 1.875 kB / 0.6054 GB, free: 64.08 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.01462/0.2238, allocations: 9.93 MB / 0.6151 GB, free: 61.44 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2239, allocations: 14.16 kB / 0.6152 GB, free: 61.44 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004442/0.2243, allocations: 489.4 kB / 0.6156 GB, free: 61.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01322/0.2375, allocations: 4.053 MB / 0.6196 GB, free: 60.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003124/0.2407, allocations: 2.616 MB / 0.6221 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004972/0.2412, allocations: 1.032 MB / 0.6231 GB, free: 59.33 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004659/0.2416, allocations: 348.9 kB / 0.6235 GB, free: 59.33 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005747/0.2474, allocations: 4.778 MB / 0.6281 GB, free: 57.78 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.441e-05/0.2474, allocations: 1.25 kB / 0.6281 GB, free: 57.78 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002995/0.2477, allocations: 144.4 kB / 0.6283 GB, free: 57.67 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-05/0.2478, allocations: 84.12 kB / 0.6284 GB, free: 57.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005366/0.2531, allocations: 4.265 MB / 0.6325 GB, free: 56.18 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 preOpt removeSimpleEquations (simulation): time 0.01556/0.2687, allocations: 13.49 MB / 0.6457 GB, free: 48.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005993/0.2747, allocations: 4.39 MB / 0.65 GB, free: 46.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002903/0.2776, allocations: 2.517 MB / 0.6524 GB, free: 44.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002837/0.2779, allocations: 67.72 kB / 0.6525 GB, free: 44.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003434/0.2813, allocations: 3.221 MB / 0.6557 GB, free: 43.01 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=385): time 5.841e-06/0.2813, allocations: 3.719 kB / 0.6557 GB, free: 43.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=385): time 0.148/0.4293, allocations: 66.58 MB / 0.7207 GB, free: 9.617 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.529e-05/0.4294, allocations: 149.8 kB / 0.7208 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003354/0.4327, allocations: 3.298 MB / 0.724 GB, free: 6.129 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003162/0.433, allocations: 89.7 kB / 0.7241 GB, free: 6.035 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00101/0.434, allocations: 2.007 MB / 0.7261 GB, free: 4.027 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001067/0.4351, allocations: 1.367 MB / 0.7274 GB, free: 2.68 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009973/0.4361, allocations: 0.6884 MB / 0.7281 GB, free: 1.984 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.671e-05/0.4362, allocations: 301.1 kB / 0.7284 GB, free: 1.688 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003554/0.4397, allocations: 2.678 MB / 0.731 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00381/0.4435, allocations: 3.298 MB / 0.7342 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03783/0.4814, allocations: 19.35 MB / 0.7531 GB, free: 7.918 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.882e-05/0.4814, allocations: 4 kB / 0.7531 GB, free: 7.914 MB / 0.573 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.0307/0.5121, allocations: 17.19 MB / 0.7699 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.037e-05/0.5121, allocations: 71.34 kB / 0.77 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.5122, allocations: 19.75 kB / 0.77 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01385/0.526, allocations: 7.298 MB / 0.7771 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/0.528, allocations: 0.6748 MB / 0.7778 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04992/0.5779, allocations: 32.92 MB / 0.8099 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00383/0.5817, allocations: 0.6338 MB / 0.8105 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002689/0.582, allocations: 159.9 kB / 0.8107 GB, free: 13.05 MB / 0.6355 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 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 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 (409): * Single equations (assignments): 406 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.001395/0.5834, allocations: 0.6693 MB / 0.8114 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005785/0.584, allocations: 480.9 kB / 0.8118 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02909/0.613, allocations: 16.78 MB / 0.8282 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.6131, allocations: 36 kB / 0.8282 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.403e-05/0.6131, allocations: 28 kB / 0.8283 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.088e-05/0.6131, allocations: 21.52 kB / 0.8283 GB, free: 11.11 MB / 0.6511 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.03384/0.647, allocations: 20.45 MB / 0.8483 GB, free: 6.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/0.647, allocations: 0 / 0.8483 GB, free: 6.75 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/0.6483, allocations: 397.8 kB / 0.8486 GB, free: 6.387 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1978/0.8462, allocations: 7.34 MB / 0.8558 GB, free: 228.9 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009616/0.8471, allocations: 70.17 kB / 0.8559 GB, free: 228.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0468/0.8939, allocations: 30.82 MB / 0.886 GB, free: 219.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.8939, allocations: 0.6562 kB / 0.886 GB, free: 219.3 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03294/0.9269, allocations: 20.24 MB / 0.9057 GB, free: 214.1 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/0.9282, allocations: 0.5128 MB / 0.9062 GB, free: 213.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004472/0.9286, allocations: 67.75 kB / 0.9063 GB, free: 213.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002182/0.9308, allocations: 376.8 kB / 0.9067 GB, free: 213.7 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002129/0.9329, allocations: 0.8179 MB / 0.9075 GB, free: 213.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001852/0.9331, allocations: 94.48 kB / 0.9075 GB, free: 213.5 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001674/0.9348, allocations: 2.147 MB / 0.9096 GB, free: 212.7 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9348, allocations: 0 / 0.9096 GB, free: 212.7 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003366/0.9381, allocations: 1.825 MB / 0.9114 GB, free: 211.8 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,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 (249): * Single equations (assignments): 246 * 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 {(98,38,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.03149/0.9696, allocations: 20.91 MB / 0.9318 GB, free: 194.5 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01311/0.9827, allocations: 9.021 MB / 0.9407 GB, free: 185.4 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.9827, allocations: 0.9375 kB / 0.9407 GB, free: 185.4 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.009478/0.9922, allocations: 5.912 MB / 0.9464 GB, free: 179.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/0.9946, allocations: 391.4 kB / 0.9468 GB, free: 179.1 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07958/1.074, allocations: 59.12 MB / 1.005 GB, free: 119.2 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/1.075, allocations: 1.94 MB / 1.006 GB, free: 117.2 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001106/1.076, allocations: 375.3 kB / 1.007 GB, free: 116.9 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001308/1.078, allocations: 2 MB / 1.009 GB, free: 114.9 MB / 0.6667 GB Notification: Performance of SimCode: time 1.293e-06/1.078, allocations: 0.6562 kB / 1.009 GB, free: 114.9 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.284/1.362, allocations: 139.9 MB / 1.145 GB, free: 219.6 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/14.03, allocations: 11.95 kB / 1.145 GB, free: 219.6 MB / 0.6667 GB " [Timeout remaining time 646] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.40638060402125] Failed to read output from testmodel.py, exit status != 0: 14.17764603998512 14.189007323 13.977860593 Calling exit ...