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.001357/0.001357, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.7 MB, free: 14.25 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.001579/0.001579, allocations: 212.8 kB / 309.2 MB, free: 3.164 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.6481/0.6481, allocations: 107.2 MB / 472.8 MB, free: 30.07 MB / 350.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.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: 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.00254/0.00254, allocations: 88.59 kB / 0.6332 GB, free: 29.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1529, allocations: 80.15 MB / 0.7114 GB, free: 7.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.02024/0.1731, allocations: 18.62 MB / 0.7296 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01259/0.1857, allocations: 4.869 MB / 0.7344 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004537/0.1902, allocations: 51.94 kB / 0.7344 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003438/0.1937, allocations: 0.8828 MB / 0.7353 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009053/0.2027, allocations: 2.303 MB / 0.7375 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0065/0.2092, allocations: 2.064 MB / 0.7395 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01054/0.2198, allocations: 5.83 MB / 0.7452 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002212/0.222, allocations: 0.865 MB / 0.7461 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004311/0.2263, allocations: 2.439 MB / 0.7485 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004851/0.2311, allocations: 2.709 MB / 0.7511 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001784/0.2329, allocations: 444 kB / 0.7515 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002399/0.2353, allocations: 0.6092 MB / 0.7521 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001376/0.2367, allocations: 1.174 MB / 0.7533 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003305/0.24, allocations: 2.14 MB / 0.7554 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009042/0.2491, allocations: 6.394 MB / 0.7616 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2491, allocations: 3.938 kB / 0.7616 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2491, allocations: 0 / 0.7616 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002786/0.2493, allocations: 0 / 0.7616 GB, free: 3.945 MB / 0.5294 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.03337/0.2827, allocations: 9.997 MB / 0.7714 GB, free: 9.855 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/0.2828, allocations: 12.02 kB / 0.7714 GB, free: 9.844 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007607/0.2835, allocations: 488.9 kB / 0.7719 GB, free: 9.355 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02711/0.3106, allocations: 4.055 MB / 0.7758 GB, free: 5.293 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006384/0.317, allocations: 2.614 MB / 0.7784 GB, free: 2.594 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001143/0.3182, allocations: 1.036 MB / 0.7794 GB, free: 1.402 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001225/0.3194, allocations: 352 kB / 0.7797 GB, free: 1.059 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01042/0.3298, allocations: 4.776 MB / 0.7844 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-05/0.3299, allocations: 0 / 0.7844 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003882/0.3303, allocations: 144 kB / 0.7845 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.447e-05/0.3303, allocations: 84 kB / 0.7846 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0097/0.34, allocations: 4.265 MB / 0.7888 GB, free: 7.746 MB / 0.5606 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.03535/0.3754, allocations: 13.47 MB / 0.8019 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01298/0.3884, allocations: 4.395 MB / 0.8062 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00639/0.3948, allocations: 2.517 MB / 0.8087 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000479/0.3952, allocations: 66.89 kB / 0.8087 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3522/0.7474, allocations: 3.219 MB / 0.8119 GB, free: 85.94 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=385): time 1.101e-05/0.7474, allocations: 0 / 0.8119 GB, free: 85.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=385): time 0.2762/1.024, allocations: 66.59 MB / 0.8769 GB, free: 43.54 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/1.024, allocations: 153.7 kB / 0.877 GB, free: 43.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004253/1.028, allocations: 3.297 MB / 0.8803 GB, free: 40.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001019/1.029, allocations: 93.73 kB / 0.8804 GB, free: 40.01 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001077/1.03, allocations: 2.011 MB / 0.8823 GB, free: 38.36 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001812/1.032, allocations: 1.387 MB / 0.8837 GB, free: 37.19 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00138/1.033, allocations: 0.6825 MB / 0.8843 GB, free: 36.49 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.1e-05/1.033, allocations: 305.1 kB / 0.8846 GB, free: 36.19 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005036/1.038, allocations: 2.67 MB / 0.8872 GB, free: 33.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005599/1.044, allocations: 3.296 MB / 0.8905 GB, free: 29.97 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06692/1.111, allocations: 19.36 MB / 0.9094 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.688e-05/1.111, allocations: 4 kB / 0.9094 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.05569/1.167, allocations: 17.2 MB / 0.9262 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/1.167, allocations: 63.41 kB / 0.9262 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.903e-05/1.167, allocations: 16 kB / 0.9262 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02783/1.195, allocations: 7.292 MB / 0.9334 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003781/1.198, allocations: 0.6826 MB / 0.934 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1022/1.301, allocations: 32.92 MB / 0.9662 GB, free: 28 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006696/1.307, allocations: 0.6364 MB / 0.9668 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001201/1.308, allocations: 164 kB / 0.967 GB, free: 15.31 MB / 0.6387 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.003408/1.312, allocations: 0.6605 MB / 0.9676 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001861/1.314, allocations: 484.9 kB / 0.9681 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05727/1.371, allocations: 16.78 MB / 0.9845 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.59e-05/1.371, allocations: 36 kB / 0.9845 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.705e-05/1.371, allocations: 31.98 kB / 0.9845 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001078/1.371, allocations: 16.59 kB / 0.9845 GB, free: 13.22 MB / 0.6544 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.06907/1.44, allocations: 20.46 MB / 1.005 GB, free: 8.781 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.292e-05/1.44, allocations: 0 / 1.005 GB, free: 8.781 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002622/1.443, allocations: 395.5 kB / 1.005 GB, free: 8.395 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0278/1.471, allocations: 7.333 MB / 1.012 GB, free: 1.047 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001146/1.472, allocations: 71.98 kB / 1.012 GB, free: 0.9766 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09428/1.566, allocations: 30.83 MB / 1.042 GB, free: 1.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.566, allocations: 3.938 kB / 1.042 GB, free: 1.926 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06954/1.636, allocations: 20.23 MB / 1.062 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001679/1.637, allocations: 0.5138 MB / 1.062 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001816/1.639, allocations: 64 kB / 1.063 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005723/1.645, allocations: 375.6 kB / 1.063 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004164/1.649, allocations: 0.8191 MB / 1.064 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009876/1.65, allocations: 99.98 kB / 1.064 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004798/1.655, allocations: 2.145 MB / 1.066 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/1.655, allocations: 4 kB / 1.066 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.008098/1.663, allocations: 1.828 MB / 1.068 GB, free: 7.867 MB / 0.7325 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.06992/1.733, allocations: 20.9 MB / 1.088 GB, free: 2.867 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.03015/1.763, allocations: 9.061 MB / 1.097 GB, free: 9.734 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/1.763, allocations: 0 / 1.097 GB, free: 9.734 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.02215/1.785, allocations: 5.936 MB / 1.103 GB, free: 3.746 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005866/1.791, allocations: 385.4 kB / 1.103 GB, free: 3.367 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5192/2.31, allocations: 59.26 MB / 1.161 GB, free: 241.9 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001682/2.312, allocations: 1.944 MB / 1.163 GB, free: 239.9 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001643/2.314, allocations: 377.2 kB / 1.163 GB, free: 239.6 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001959/2.316, allocations: 2.003 MB / 1.165 GB, free: 237.6 MB / 0.7637 GB Notification: Performance of SimCode: time 1.443e-06/2.316, allocations: 0 / 1.165 GB, free: 237.6 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1801/2.496, allocations: 139.5 MB / 1.301 GB, free: 98.52 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.32/24.81, allocations: 3.984 kB / 1.301 GB, free: 98.51 MB / 0.7637 GB " [Timeout remaining time 635] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 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: 29.473079106770456] Failed to read output from testmodel.py, exit status != 0: 25.007305024191737 25.028664922 24.775338964 Calling exit ...