Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0008023/0.0008023, 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.8693/0.8693, allocations: 177.2 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.001233/0.001233, allocations: 160.6 kB / 256 MB, free: 13.34 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.2585/0.2585, 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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5549 GB, free: 12.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135e-05/1.287e-05, allocations: 2.281 kB / 0.5549 GB, free: 12.17 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.2/0.2, allocations: 18.55 MB / 0.573 GB, free: 13.7 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.009264/0.2092, allocations: 4.862 MB / 0.5778 GB, free: 11.27 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002684/0.2119, allocations: 51.5 kB / 0.5778 GB, free: 11.26 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001592/0.2135, allocations: 0.8844 MB / 0.5787 GB, free: 10.78 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004382/0.2179, allocations: 2.366 MB / 0.581 GB, free: 9.086 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003822/0.2217, allocations: 2.087 MB / 0.583 GB, free: 8.027 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.006011/0.2277, allocations: 5.917 MB / 0.5888 GB, free: 4.895 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.2289, allocations: 0.8717 MB / 0.5897 GB, free: 4.418 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003808/0.2327, allocations: 3.338 MB / 0.5929 GB, free: 2.887 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002475/0.2352, allocations: 2.297 MB / 0.5952 GB, free: 2.074 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008607/0.2361, allocations: 442.8 kB / 0.5956 GB, free: 2.074 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.2371, allocations: 0.6051 MB / 0.5962 GB, free: 2.023 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005474/0.2377, allocations: 1.176 MB / 0.5973 GB, free: 1.102 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001606/0.2393, allocations: 1.739 MB / 0.599 GB, free: 24 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005284/0.2446, allocations: 6.376 MB / 0.6053 GB, free: 11.35 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2446, allocations: 3.938 kB / 0.6053 GB, free: 11.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2446, allocations: 0 / 0.6053 GB, free: 11.34 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001859/0.2448, allocations: 3.938 kB / 0.6053 GB, free: 11.34 MB / 458.7 MB 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.01792/0.2627, allocations: 9.905 MB / 0.6149 GB, free: 5.219 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.2627, allocations: 12.03 kB / 0.6149 GB, free: 5.207 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004526/0.2632, allocations: 488.9 kB / 0.6154 GB, free: 4.719 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01252/0.2757, allocations: 4.055 MB / 0.6194 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003461/0.2792, allocations: 2.59 MB / 0.6219 GB, free: 13.98 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005377/0.2797, allocations: 1.033 MB / 0.6229 GB, free: 12.79 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004108/0.2801, allocations: 352 kB / 0.6232 GB, free: 12.45 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005684/0.2858, allocations: 4.772 MB / 0.6279 GB, free: 7.641 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.21e-05/0.2858, allocations: 0 / 0.6279 GB, free: 7.641 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002855/0.2861, allocations: 140 kB / 0.628 GB, free: 7.504 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/0.2862, allocations: 87.94 kB / 0.6281 GB, free: 7.418 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005789/0.292, allocations: 4.257 MB / 0.6323 GB, free: 3.148 MB / 474.7 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.01852/0.3105, allocations: 13.46 MB / 0.6454 GB, free: 5.258 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006634/0.3171, allocations: 4.37 MB / 0.6497 GB, free: 0.875 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003203/0.3203, allocations: 2.507 MB / 0.6521 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002766/0.3206, allocations: 62.95 kB / 0.6522 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003921/0.3245, allocations: 3.21 MB / 0.6553 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=384): time 5.44e-06/0.3245, allocations: 0 / 0.6553 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=384): time 0.1582/0.4827, allocations: 67.54 MB / 0.7213 GB, free: 7.309 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.4828, allocations: 145.8 kB / 0.7214 GB, free: 7.141 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003359/0.4861, allocations: 3.281 MB / 0.7246 GB, free: 3.84 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005294/0.4867, allocations: 89.7 kB / 0.7247 GB, free: 3.746 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.4877, allocations: 2.005 MB / 0.7267 GB, free: 1.73 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001349/0.489, allocations: 1.367 MB / 0.728 GB, free: 360 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009514/0.49, allocations: 0.6746 MB / 0.7287 GB, free: 15.66 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.405e-05/0.49, allocations: 301.1 kB / 0.729 GB, free: 15.37 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003602/0.4936, allocations: 2.659 MB / 0.7316 GB, free: 12.69 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004062/0.4977, allocations: 3.291 MB / 0.7348 GB, free: 9.164 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03823/0.5359, allocations: 19.21 MB / 0.7535 GB, free: 5.68 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.846e-05/0.536, allocations: 4 kB / 0.7535 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.03171/0.5677, allocations: 17.25 MB / 0.7704 GB, free: 4.367 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.897e-05/0.5677, allocations: 70.31 kB / 0.7704 GB, free: 4.289 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.71e-05/0.5678, allocations: 12 kB / 0.7705 GB, free: 4.277 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01464/0.5824, allocations: 7.154 MB / 0.7774 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002364/0.5848, allocations: 0.6873 MB / 0.7781 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2525/0.8373, allocations: 32.39 MB / 0.8097 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004199/0.8415, allocations: 0.6266 MB / 0.8104 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002882/0.8418, allocations: 155.7 kB / 0.8105 GB, free: 196.3 MB / 0.6355 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.001402/0.8432, allocations: 0.6741 MB / 0.8112 GB, free: 196.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006167/0.8438, allocations: 480.5 kB / 0.8116 GB, free: 196.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03075/0.8746, allocations: 16.77 MB / 0.828 GB, free: 194.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.149e-05/0.8746, allocations: 44.81 kB / 0.828 GB, free: 194.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.588e-05/0.8746, allocations: 28.16 kB / 0.8281 GB, free: 194.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.033e-05/0.8747, allocations: 20.66 kB / 0.8281 GB, free: 194.7 MB / 0.6355 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.03084/0.9055, allocations: 20.42 MB / 0.848 GB, free: 189.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.9055, allocations: 3.938 kB / 0.848 GB, free: 189.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009994/0.9065, allocations: 389.2 kB / 0.8484 GB, free: 189.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0122/0.9187, allocations: 7.374 MB / 0.8556 GB, free: 188 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002152/0.9189, allocations: 67.66 kB / 0.8557 GB, free: 187.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04029/0.9592, allocations: 30.77 MB / 0.8857 GB, free: 159.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.9592, allocations: 6.375 kB / 0.8857 GB, free: 159.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03097/0.9902, allocations: 20.21 MB / 0.9055 GB, free: 139.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/0.9914, allocations: 0.5151 MB / 0.906 GB, free: 138.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003888/0.9917, allocations: 64 kB / 0.906 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002068/0.9938, allocations: 375.5 kB / 0.9064 GB, free: 138.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001968/0.9958, allocations: 0.8192 MB / 0.9072 GB, free: 137.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001744/0.996, allocations: 95.98 kB / 0.9073 GB, free: 137.4 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001715/0.9977, allocations: 2.137 MB / 0.9094 GB, free: 135.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1e-07/0.9977, allocations: 0 / 0.9094 GB, free: 135.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002982/1.001, allocations: 1.815 MB / 0.9111 GB, free: 133.5 MB / 0.6355 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.03125/1.032, allocations: 20.86 MB / 0.9315 GB, free: 112.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01368/1.046, allocations: 8.865 MB / 0.9402 GB, free: 103.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.046, allocations: 0 / 0.9402 GB, free: 103.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.009496/1.055, allocations: 5.903 MB / 0.9459 GB, free: 97.63 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/1.058, allocations: 387 kB / 0.9463 GB, free: 97.25 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08174/1.14, allocations: 59.14 MB / 1.004 GB, free: 37.31 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/1.141, allocations: 1.936 MB / 1.006 GB, free: 35.33 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001151/1.142, allocations: 375.2 kB / 1.006 GB, free: 34.96 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/1.143, allocations: 2.031 MB / 1.008 GB, free: 32.93 MB / 0.6355 GB Notification: Performance of SimCode: time 1.022e-06/1.143, allocations: 0 / 1.008 GB, free: 32.93 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3/1.443, allocations: 138.1 MB / 1.143 GB, free: 160.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/14.61, allocations: 14.36 kB / 1.143 GB, free: 160.3 MB / 0.6511 GB " [Timeout remaining time 645] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.409920670092106] Failed to read output from testmodel.py, exit status != 0: 14.751406993716955 14.760855071 14.514316936 Calling exit ...