Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002371/0.002371, allocations: 110.1 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 244.8 MB, free: 14.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 194.6 kB / 299.8 MB, free: 9.832 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5999/0.5999, allocations: 99.65 MB / 454.4 MB, free: 5.094 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 87.83 kB / 0.6075 GB, free: 9.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1768, allocations: 76.94 MB / 0.6826 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.4235/0.6003, allocations: 22.01 MB / 0.7041 GB, free: 6.395 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01386/0.6142, allocations: 4.889 MB / 0.7089 GB, free: 4.109 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006516/0.6207, allocations: 47.41 kB / 0.7089 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003931/0.6246, allocations: 0.8827 MB / 0.7098 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01057/0.6352, allocations: 2.296 MB / 0.712 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006828/0.642, allocations: 2.063 MB / 0.714 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01281/0.6549, allocations: 5.769 MB / 0.7197 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002711/0.6576, allocations: 0.9181 MB / 0.7206 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006061/0.6636, allocations: 2.347 MB / 0.7229 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007728/0.6714, allocations: 2.989 MB / 0.7258 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.003006/0.6744, allocations: 442.8 kB / 0.7262 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00417/0.6785, allocations: 0.5787 MB / 0.7268 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002333/0.6809, allocations: 1.164 MB / 0.7279 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0071/0.688, allocations: 2.631 MB / 0.7305 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01424/0.7022, allocations: 6.292 MB / 0.7366 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.7022, allocations: 0 / 0.7366 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.305e-06/0.7022, allocations: 0 / 0.7366 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003321/0.7025, allocations: 1.531 kB / 0.7366 GB, free: 3.871 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.04185/0.7444, allocations: 9.391 MB / 0.7458 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.321e-05/0.7445, allocations: 13.94 kB / 0.7458 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002521/0.747, allocations: 489.9 kB / 0.7463 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02926/0.7762, allocations: 4.036 MB / 0.7502 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009085/0.7853, allocations: 2.711 MB / 0.7529 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001476/0.7868, allocations: 0.9619 MB / 0.7538 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001836/0.7886, allocations: 351 kB / 0.7541 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01587/0.8045, allocations: 4.743 MB / 0.7588 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001346/0.8046, allocations: 8.875 kB / 0.7588 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001255/0.8059, allocations: 140 kB / 0.7589 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.806, allocations: 84 kB / 0.759 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01281/0.8188, allocations: 4.248 MB / 0.7631 GB, free: 32 kB / 0.5137 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.04949/0.8683, allocations: 18.29 MB / 0.781 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01395/0.8823, allocations: 4.663 MB / 0.7855 GB, free: 7.824 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006914/0.8892, allocations: 2.482 MB / 0.788 GB, free: 5.332 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007682/0.8899, allocations: 74.91 kB / 0.788 GB, free: 5.258 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008915/0.8988, allocations: 3.187 MB / 0.7911 GB, free: 2.031 MB / 0.545 GB Notification: Performance of pre-optimization done (n=384): time 1.028e-05/0.8989, allocations: 0 / 0.7911 GB, free: 2.031 MB / 0.545 GB Notification: Performance of matching and sorting (n=384): time 0.3202/1.219, allocations: 67.66 MB / 0.8572 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/1.219, allocations: 145.8 kB / 0.8574 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009182/1.228, allocations: 3.258 MB / 0.8605 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.001533/1.23, allocations: 89.7 kB / 0.8606 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.002416/1.232, allocations: 2.009 MB / 0.8626 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.003053/1.235, allocations: 1.386 MB / 0.8639 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003931/1.239, allocations: 0.6746 MB / 0.8646 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.239, allocations: 305.1 kB / 0.8649 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007327/1.247, allocations: 2.608 MB / 0.8674 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008234/1.255, allocations: 3.234 MB / 0.8706 GB, free: 172 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07866/1.334, allocations: 18.99 MB / 0.8891 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.366e-05/1.334, allocations: 4 kB / 0.8891 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.06945/1.403, allocations: 17.19 MB / 0.9059 GB, free: 11.66 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/1.403, allocations: 63.41 kB / 0.906 GB, free: 11.58 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.612e-05/1.403, allocations: 12 kB / 0.906 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02895/1.432, allocations: 7.162 MB / 0.913 GB, free: 4.395 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004136/1.436, allocations: 0.6865 MB / 0.9137 GB, free: 3.707 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1094/1.546, allocations: 33.35 MB / 0.9462 GB, free: 2.176 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007836/1.554, allocations: 0.6295 MB / 0.9469 GB, free: 1.547 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001404/1.555, allocations: 152 kB / 0.947 GB, free: 1.398 MB / 0.7012 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.004067/1.559, allocations: 0.6796 MB / 0.9477 GB, free: 0.7109 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002583/1.562, allocations: 480.9 kB / 0.9481 GB, free: 244 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06369/1.625, allocations: 16.74 MB / 0.9645 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.009e-05/1.625, allocations: 36 kB / 0.9645 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001324/1.626, allocations: 31.98 kB / 0.9645 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001229/1.626, allocations: 19.94 kB / 0.9646 GB, free: 15.34 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.4525/2.078, allocations: 21.75 MB / 0.9858 GB, free: 236.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.591e-05/2.078, allocations: 0.5625 kB / 0.9858 GB, free: 236.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002405/2.081, allocations: 395.1 kB / 0.9862 GB, free: 236.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02731/2.108, allocations: 7.376 MB / 0.9934 GB, free: 236.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001143/2.109, allocations: 71.28 kB / 0.9935 GB, free: 236.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08033/2.189, allocations: 31.82 MB / 1.025 GB, free: 225.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/2.189, allocations: 0 / 1.025 GB, free: 225.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05969/2.249, allocations: 20.14 MB / 1.044 GB, free: 219.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001856/2.251, allocations: 0.5954 MB / 1.045 GB, free: 219.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001603/2.253, allocations: 60 kB / 1.045 GB, free: 219.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005027/2.258, allocations: 383.2 kB / 1.045 GB, free: 218.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003181/2.261, allocations: 0.786 MB / 1.046 GB, free: 218.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003925/2.261, allocations: 95.75 kB / 1.046 GB, free: 218.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002864/2.264, allocations: 2.132 MB / 1.048 GB, free: 216.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/2.264, allocations: 0 / 1.048 GB, free: 216.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006027/2.27, allocations: 1.815 MB / 1.05 GB, free: 214.7 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.05752/2.328, allocations: 20.81 MB / 1.07 GB, free: 195.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02498/2.353, allocations: 8.807 MB / 1.079 GB, free: 186.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/2.353, allocations: 0 / 1.079 GB, free: 186.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01847/2.371, allocations: 5.91 MB / 1.085 GB, free: 180.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004165/2.375, allocations: 378.9 kB / 1.085 GB, free: 180.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1454/2.521, allocations: 58.96 MB / 1.143 GB, free: 120.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00169/2.522, allocations: 2.455 MB / 1.145 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001718/2.524, allocations: 376.5 kB / 1.145 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001997/2.526, allocations: 2.026 MB / 1.147 GB, free: 115.8 MB / 0.7325 GB Notification: Performance of SimCode: time 1.523e-06/2.526, allocations: 0 / 1.147 GB, free: 115.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6038/3.13, allocations: 128 MB / 1.272 GB, free: 241.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.74/26.87, allocations: 7.438 kB / 1.272 GB, free: 241.4 MB / 0.7325 GB " [Timeout remaining time 633] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 31.53694340819493] Failed to read output from testmodel.py, exit status != 0: 27.059921628795564 27.078175326 26.371960758 Calling exit ...