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.001456/0.001456, 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.415/1.415, allocations: 230.6 MB / 252.7 MB, free: 8.078 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.001642/0.001642, allocations: 213.5 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.6003/0.6003, allocations: 107.2 MB / 472.8 MB, free: 4.523 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.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: 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.00251/0.00251, allocations: 95.78 kB / 0.6332 GB, free: 4.918 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.497/0.4996, allocations: 80.14 MB / 0.7114 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01924/0.5188, allocations: 18.58 MB / 0.7296 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01465/0.5335, allocations: 4.861 MB / 0.7343 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005976/0.5394, allocations: 43.53 kB / 0.7344 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004463/0.5439, allocations: 0.8851 MB / 0.7352 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0113/0.5552, allocations: 2.288 MB / 0.7375 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007956/0.5631, allocations: 2.059 MB / 0.7395 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01236/0.5755, allocations: 5.796 MB / 0.7451 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003306/0.5788, allocations: 0.8621 MB / 0.746 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005912/0.5847, allocations: 2.431 MB / 0.7483 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0065/0.5912, allocations: 2.694 MB / 0.751 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00269/0.5939, allocations: 443.7 kB / 0.7514 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004091/0.598, allocations: 0.6004 MB / 0.752 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002701/0.6007, allocations: 1.166 MB / 0.7531 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.007003/0.6077, allocations: 2.135 MB / 0.7552 GB, free: 7 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01402/0.6217, allocations: 6.374 MB / 0.7614 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.6217, allocations: 1.281 kB / 0.7614 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.745e-06/0.6217, allocations: 4 kB / 0.7614 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.00038/0.6221, allocations: 0 / 0.7614 GB, free: 2.266 MB / 0.5137 GB 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.03906/0.6612, allocations: 9.966 MB / 0.7712 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.6612, allocations: 8.031 kB / 0.7712 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001698/0.6629, allocations: 492.9 kB / 0.7716 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02788/0.6908, allocations: 4.051 MB / 0.7756 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007916/0.6987, allocations: 2.606 MB / 0.7781 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001358/0.7001, allocations: 1.029 MB / 0.7792 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001682/0.7018, allocations: 348 kB / 0.7795 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/0.7166, allocations: 4.768 MB / 0.7841 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001327/0.7167, allocations: 0 / 0.7841 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001122/0.7178, allocations: 144 kB / 0.7843 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.573e-05/0.7179, allocations: 84 kB / 0.7844 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01275/0.7307, allocations: 4.261 MB / 0.7885 GB, free: 7.91 MB / 0.545 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.04148/0.7722, allocations: 13.43 MB / 0.8016 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01343/0.7856, allocations: 4.374 MB / 0.8059 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006892/0.7925, allocations: 2.508 MB / 0.8084 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007313/0.7932, allocations: 62.89 kB / 0.8084 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008391/0.8016, allocations: 3.222 MB / 0.8116 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=384): time 1.025e-05/0.8016, allocations: 0 / 0.8116 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=384): time 0.3077/1.109, allocations: 67.55 MB / 0.8775 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001571/1.109, allocations: 141.8 kB / 0.8777 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006641/1.116, allocations: 3.285 MB / 0.8809 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001118/1.117, allocations: 89.7 kB / 0.881 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00208/1.119, allocations: 2.001 MB / 0.8829 GB, free: 6.496 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002626/1.122, allocations: 1.386 MB / 0.8843 GB, free: 5.098 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003456/1.125, allocations: 0.6785 MB / 0.8849 GB, free: 4.406 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.125, allocations: 309.1 kB / 0.8852 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007075/1.133, allocations: 2.659 MB / 0.8878 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007878/1.14, allocations: 3.284 MB / 0.891 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07784/1.218, allocations: 19.21 MB / 0.9098 GB, free: 10.42 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.639e-05/1.218, allocations: 4 kB / 0.9098 GB, free: 10.42 MB / 0.67 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.06371/1.282, allocations: 17.25 MB / 0.9266 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/1.282, allocations: 63.41 kB / 0.9267 GB, free: 9.035 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-05/1.282, allocations: 19.94 kB / 0.9267 GB, free: 9.016 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02743/1.31, allocations: 7.15 MB / 0.9337 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003958/1.314, allocations: 0.6865 MB / 0.9344 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1023/1.416, allocations: 32.4 MB / 0.966 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006899/1.423, allocations: 0.6299 MB / 0.9666 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00121/1.424, allocations: 147.9 kB / 0.9668 GB, free: 15.84 MB / 0.7325 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.003372/1.427, allocations: 0.6796 MB / 0.9674 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002001/1.429, allocations: 480.9 kB / 0.9679 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4464/1.876, allocations: 16.76 MB / 0.9843 GB, free: 225.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.82e-05/1.876, allocations: 38.62 kB / 0.9843 GB, free: 225.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.127e-05/1.876, allocations: 28.62 kB / 0.9843 GB, free: 225.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001121/1.876, allocations: 18.33 kB / 0.9843 GB, free: 225.2 MB / 0.7325 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.06411/1.94, allocations: 20.43 MB / 1.004 GB, free: 222 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.639e-05/1.94, allocations: 0.9688 kB / 1.004 GB, free: 222 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002545/1.943, allocations: 394 kB / 1.005 GB, free: 222 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02704/1.97, allocations: 7.367 MB / 1.012 GB, free: 221 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001299/1.971, allocations: 74.28 kB / 1.012 GB, free: 220.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0814/2.052, allocations: 30.78 MB / 1.042 GB, free: 207.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/2.052, allocations: 0 / 1.042 GB, free: 207.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06024/2.113, allocations: 20.2 MB / 1.062 GB, free: 188.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002201/2.115, allocations: 0.5028 MB / 1.062 GB, free: 187.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00245/2.117, allocations: 71.92 kB / 1.062 GB, free: 187.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006097/2.123, allocations: 375.6 kB / 1.063 GB, free: 187.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004058/2.127, allocations: 0.815 MB / 1.063 GB, free: 186.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009514/2.128, allocations: 99.97 kB / 1.064 GB, free: 186.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004122/2.132, allocations: 2.141 MB / 1.066 GB, free: 184.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.91e-07/2.132, allocations: 4 kB / 1.066 GB, free: 184.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.007955/2.14, allocations: 1.813 MB / 1.067 GB, free: 182.3 MB / 0.7325 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.06172/2.202, allocations: 20.86 MB / 1.088 GB, free: 161.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02554/2.228, allocations: 8.88 MB / 1.096 GB, free: 152.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/2.228, allocations: 4.125 kB / 1.096 GB, free: 152.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01933/2.247, allocations: 5.934 MB / 1.102 GB, free: 146.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006089/2.253, allocations: 393 kB / 1.103 GB, free: 146 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1574/2.411, allocations: 59.23 MB / 1.16 GB, free: 86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002938/2.413, allocations: 1.939 MB / 1.162 GB, free: 84.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002373/2.416, allocations: 383.2 kB / 1.163 GB, free: 83.64 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003071/2.419, allocations: 2.022 MB / 1.165 GB, free: 81.62 MB / 0.7325 GB Notification: Performance of SimCode: time 1.463e-06/2.419, allocations: 4 kB / 1.165 GB, free: 81.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5682/2.987, allocations: 137.8 MB / 1.299 GB, free: 248.9 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.79/24.78, allocations: 4 kB / 1.299 GB, free: 248.9 MB / 0.7637 GB " [Timeout remaining time 635] (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: 29.19952505780384] Failed to read output from testmodel.py, exit status != 0: 24.97171173291281 24.994558604 24.368450391 Calling exit ...