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.001778/0.001778, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.487/1.487, allocations: 230.6 MB / 252.7 MB, free: 8.066 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.002408/0.002408, allocations: 218.2 kB / 309.2 MB, free: 2.945 MB / 238.1 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.6183/0.6183, allocations: 107.2 MB / 472.8 MB, free: 4.496 MB / 334.1 MB " [Timeout remaining time 179] 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.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_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.002492/0.002492, allocations: 90 kB / 0.6331 GB, free: 5.016 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5129/0.5154, allocations: 80.13 MB / 0.7113 GB, free: 4.27 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.006442/0.5218, allocations: 5.958 MB / 0.7171 GB, free: 228 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005046/0.5269, allocations: 1.968 MB / 0.7191 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007967/0.5276, allocations: 14.16 kB / 0.7191 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008554/0.5285, allocations: 246.1 kB / 0.7193 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002536/0.531, allocations: 0.8644 MB / 0.7201 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.5327, allocations: 0.6481 MB / 0.7208 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002352/0.5351, allocations: 1.69 MB / 0.7224 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000469/0.5356, allocations: 211.5 kB / 0.7226 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.5369, allocations: 0.715 MB / 0.7233 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.5381, allocations: 0.8129 MB / 0.7241 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002324/0.5383, allocations: 133.5 kB / 0.7242 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006874/0.539, allocations: 284.7 kB / 0.7245 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000403/0.5394, allocations: 348.9 kB / 0.7249 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007071/0.5401, allocations: 0.5721 MB / 0.7254 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002551/0.5427, allocations: 1.784 MB / 0.7272 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5427, allocations: 3.938 kB / 0.7272 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5427, allocations: 1.125 kB / 0.7272 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.003e-05/0.5427, allocations: 0 / 0.7272 GB, free: 10.8 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.01101/0.5537, allocations: 2.91 MB / 0.73 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.5538, allocations: 8.781 kB / 0.73 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002152/0.554, allocations: 128 kB / 0.7301 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005416/0.5594, allocations: 0.7999 MB / 0.7309 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002278/0.5617, allocations: 0.87 MB / 0.7318 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004084/0.5621, allocations: 341.5 kB / 0.7321 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002525/0.5624, allocations: 92.48 kB / 0.7322 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002724/0.5651, allocations: 1.138 MB / 0.7333 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.5651, allocations: 0 / 0.7333 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.5652, allocations: 30.41 kB / 0.7333 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.5653, allocations: 18.56 kB / 0.7333 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002379/0.5676, allocations: 1.023 MB / 0.7343 GB, free: 7.043 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.007761/0.5754, allocations: 3.03 MB / 0.7373 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007407/0.5828, allocations: 2.045 MB / 0.7393 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.5845, allocations: 0.6606 MB / 0.7399 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.5846, allocations: 14.58 kB / 0.7399 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001859/0.5864, allocations: 0.87 MB / 0.7408 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=98): time 3.367e-06/0.5864, allocations: 5.031 kB / 0.7408 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98): time 0.02954/0.616, allocations: 6.953 MB / 0.7476 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.6161, allocations: 126.4 kB / 0.7477 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00236/0.6184, allocations: 1.141 MB / 0.7488 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003492/0.6188, allocations: 46.05 kB / 0.7489 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005202/0.6193, allocations: 0.5093 MB / 0.7494 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005659/0.6199, allocations: 380.1 kB / 0.7497 GB, free: 14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006225/0.6205, allocations: 302 kB / 0.75 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.6206, allocations: 302.4 kB / 0.7503 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/0.6226, allocations: 0.8503 MB / 0.7511 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/0.6246, allocations: 1.024 MB / 0.7521 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02698/0.6515, allocations: 6.146 MB / 0.7581 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/0.6516, allocations: 0 / 0.7581 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01475/0.6663, allocations: 4.551 MB / 0.7626 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.94e-05/0.6664, allocations: 59.41 kB / 0.7626 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/0.6664, allocations: 4 kB / 0.7626 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006417/0.6728, allocations: 1.662 MB / 0.7643 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/0.6746, allocations: 299.5 kB / 0.7646 GB, free: 276 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02135/0.6959, allocations: 8.342 MB / 0.7727 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002496/0.6984, allocations: 211.1 kB / 0.7729 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002526/0.6987, allocations: 59.97 kB / 0.773 GB, free: 7.539 MB / 0.5294 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.0008249/0.6995, allocations: 308.1 kB / 0.7733 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003728/0.6999, allocations: 131.2 kB / 0.7734 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/0.713, allocations: 3.922 MB / 0.7772 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.713, allocations: 12 kB / 0.7772 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.686e-05/0.713, allocations: 4 kB / 0.7772 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/0.713, allocations: 3.984 kB / 0.7772 GB, free: 3.113 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.0157/0.7287, allocations: 5.061 MB / 0.7822 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.7287, allocations: 0 / 0.7822 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000771/0.7295, allocations: 103.9 kB / 0.7823 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005645/0.7352, allocations: 1.591 MB / 0.7838 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001978/0.7354, allocations: 20 kB / 0.7838 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02152/0.7569, allocations: 9.253 MB / 0.7929 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/0.7569, allocations: 3.938 kB / 0.7929 GB, free: 2.766 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01551/0.7724, allocations: 4.841 MB / 0.7976 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007401/0.7731, allocations: 158.8 kB / 0.7978 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002376/0.7734, allocations: 23.98 kB / 0.7978 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.7747, allocations: 107.9 kB / 0.7979 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006692/0.7753, allocations: 204.6 kB / 0.7981 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.634e-05/0.7754, allocations: 31.98 kB / 0.7981 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001311/0.7767, allocations: 0.7673 MB / 0.7989 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7767, allocations: 0 / 0.7989 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001683/0.7784, allocations: 495.6 kB / 0.7993 GB, free: 12.11 MB / 0.5606 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.01566/0.7941, allocations: 5.433 MB / 0.8046 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007382/0.8014, allocations: 2.559 MB / 0.8071 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.8015, allocations: 8.25 kB / 0.8071 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004587/0.806, allocations: 1.589 MB / 0.8087 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.8074, allocations: 110.6 kB / 0.8088 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04355/0.851, allocations: 17.02 MB / 0.8254 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006606/0.8516, allocations: 0.5441 MB / 0.826 GB, free: 360 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006647/0.8523, allocations: 120.3 kB / 0.8261 GB, free: 236 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007695/0.8531, allocations: 495.3 kB / 0.8265 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of SimCode: time 1.193e-06/0.8531, allocations: 7.938 kB / 0.8265 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08934/0.9424, allocations: 38.95 MB / 0.8646 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.96/15.9, allocations: 13.67 kB / 0.8646 GB, free: 9.004 MB / 0.6231 GB " [Timeout remaining time 644] (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: 19.63112402288243] Failed to read output from testmodel.py, exit status != 0: 16.049210163298994 16.075112229 15.527532176 Calling exit ...