Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.001331/0.001331, 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.489/1.489, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001713/0.001713, allocations: 213.8 kB / 309.2 MB, free: 3.117 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.6128/0.6128, allocations: 107.2 MB / 472.8 MB, free: 29.73 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.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_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.002517/0.002517, allocations: 87.22 kB / 0.6332 GB, free: 29.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1641, allocations: 80.15 MB / 0.7114 GB, free: 7.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.02019/0.1842, allocations: 18.5 MB / 0.7295 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01242/0.1967, allocations: 4.822 MB / 0.7342 GB, free: 204 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004743/0.2014, allocations: 47.94 kB / 0.7343 GB, free: 156 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003403/0.2048, allocations: 0.879 MB / 0.7351 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008899/0.2137, allocations: 2.279 MB / 0.7373 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00645/0.2201, allocations: 2.058 MB / 0.7393 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01076/0.2309, allocations: 5.74 MB / 0.7449 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002088/0.233, allocations: 0.861 MB / 0.7458 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004356/0.2374, allocations: 2.4 MB / 0.7481 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004547/0.2419, allocations: 2.666 MB / 0.7507 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001351/0.2433, allocations: 436 kB / 0.7512 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.2452, allocations: 0.5937 MB / 0.7517 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.2463, allocations: 1.155 MB / 0.7529 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002752/0.249, allocations: 2.113 MB / 0.7549 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008343/0.2574, allocations: 6.328 MB / 0.7611 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.2574, allocations: 0 / 0.7611 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2574, allocations: 0 / 0.7611 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002454/0.2576, allocations: 0 / 0.7611 GB, free: 4.52 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.03313/0.2907, allocations: 9.888 MB / 0.7708 GB, free: 10.54 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.958e-05/0.2908, allocations: 12.03 kB / 0.7708 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008744/0.2917, allocations: 496.8 kB / 0.7712 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02711/0.3188, allocations: 4.047 MB / 0.7752 GB, free: 5.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006398/0.3252, allocations: 2.574 MB / 0.7777 GB, free: 3.316 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00115/0.3263, allocations: 1.033 MB / 0.7787 GB, free: 2.129 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001117/0.3275, allocations: 356 kB / 0.7791 GB, free: 1.781 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.3378, allocations: 4.752 MB / 0.7837 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.453e-05/0.3378, allocations: 3.938 kB / 0.7837 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003845/0.3382, allocations: 148 kB / 0.7838 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.042e-05/0.3383, allocations: 84 kB / 0.7839 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00954/0.3478, allocations: 4.238 MB / 0.7881 GB, free: 8.508 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.03512/0.383, allocations: 13.43 MB / 0.8012 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01253/0.3955, allocations: 4.349 MB / 0.8054 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006324/0.4018, allocations: 2.507 MB / 0.8079 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004377/0.4022, allocations: 54.95 kB / 0.8079 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007086/0.4093, allocations: 3.21 MB / 0.8111 GB, free: 452 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=383): time 7.414e-06/0.4093, allocations: 0 / 0.8111 GB, free: 452 kB / 0.5762 GB Notification: Performance of matching and sorting (n=383): time 0.6295/1.039, allocations: 67.83 MB / 0.8773 GB, free: 43.72 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.178e-05/1.039, allocations: 141.8 kB / 0.8774 GB, free: 43.56 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003917/1.043, allocations: 3.248 MB / 0.8806 GB, free: 40.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000991/1.044, allocations: 85.7 kB / 0.8807 GB, free: 40.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001106/1.045, allocations: 1.997 MB / 0.8826 GB, free: 38.62 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001661/1.047, allocations: 1.379 MB / 0.884 GB, free: 37.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001246/1.048, allocations: 0.6823 MB / 0.8846 GB, free: 36.76 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.046e-05/1.048, allocations: 301.1 kB / 0.8849 GB, free: 36.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004802/1.053, allocations: 2.641 MB / 0.8875 GB, free: 33.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005192/1.058, allocations: 3.264 MB / 0.8907 GB, free: 30.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06262/1.121, allocations: 18.99 MB / 0.9092 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.968e-05/1.121, allocations: 4 kB / 0.9092 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.0541/1.175, allocations: 17.2 MB / 0.926 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.914e-05/1.175, allocations: 71.41 kB / 0.9261 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-05/1.175, allocations: 15.94 kB / 0.9261 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02662/1.201, allocations: 7.154 MB / 0.9331 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003717/1.205, allocations: 0.6709 MB / 0.9338 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09054/1.296, allocations: 32.37 MB / 0.9654 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006731/1.302, allocations: 0.6302 MB / 0.966 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001055/1.303, allocations: 152 kB / 0.9661 GB, free: 0.6797 MB / 0.6231 GB Warning: Assuming fixed start value for the following 5 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.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 (403): * Single equations (assignments): 400 * 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.002298/1.306, allocations: 0.6776 MB / 0.9668 GB, free: 4 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001364/1.307, allocations: 484.9 kB / 0.9673 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05606/1.363, allocations: 16.73 MB / 0.9836 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-05/1.363, allocations: 43.98 kB / 0.9836 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.684e-05/1.363, allocations: 33.02 kB / 0.9837 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001003/1.363, allocations: 15.94 kB / 0.9837 GB, free: 14.63 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.06567/1.429, allocations: 20.4 MB / 1.004 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.5e-05/1.429, allocations: 0 / 1.004 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002434/1.432, allocations: 391.5 kB / 1.004 GB, free: 9.867 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02701/1.459, allocations: 7.331 MB / 1.011 GB, free: 2.523 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001035/1.46, allocations: 83.92 kB / 1.011 GB, free: 2.441 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08545/1.545, allocations: 30.77 MB / 1.041 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.545, allocations: 0 / 1.041 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06492/1.61, allocations: 20.17 MB / 1.061 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001834/1.612, allocations: 0.5023 MB / 1.061 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001881/1.614, allocations: 71.94 kB / 1.062 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005692/1.619, allocations: 380.6 kB / 1.062 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003685/1.623, allocations: 0.8114 MB / 1.063 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004388/1.623, allocations: 95.98 kB / 1.063 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003676/1.627, allocations: 2.101 MB / 1.065 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/1.627, allocations: 0 / 1.065 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006413/1.634, allocations: 1.808 MB / 1.067 GB, free: 9.531 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (247): * Single equations (assignments): 244 * 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.06465/1.698, allocations: 20.82 MB / 1.087 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02808/1.726, allocations: 8.844 MB / 1.096 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/1.726, allocations: 0 / 1.096 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.02044/1.747, allocations: 5.892 MB / 1.101 GB, free: 5.758 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003458/1.75, allocations: 382.9 kB / 1.102 GB, free: 5.379 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5224/2.273, allocations: 58.89 MB / 1.159 GB, free: 243.9 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001706/2.274, allocations: 1.93 MB / 1.161 GB, free: 241.9 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001748/2.276, allocations: 376.5 kB / 1.161 GB, free: 241.5 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002018/2.278, allocations: 1.987 MB / 1.163 GB, free: 239.6 MB / 0.7637 GB Notification: Performance of SimCode: time 2.114e-06/2.278, allocations: 0 / 1.163 GB, free: 239.6 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1814/2.459, allocations: 136.9 MB / 1.297 GB, free: 103.2 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.33/23.79, allocations: 0 / 1.297 GB, free: 103.2 MB / 0.7637 GB " [Timeout remaining time 636] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.49997035600245] Failed to read output from testmodel.py, exit status != 0: 23.980835791677237 24.001618744 23.740061983 Calling exit ...