Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001037/0.001037, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.9563/0.9563, allocations: 177.2 MB / 199.4 MB, free: 5.902 MB / 186.7 MB " [Timeout remaining time 179] 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.001178/0.001178, allocations: 160.6 kB / 256 MB, free: 13.31 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2706/0.2706, allocations: 80.36 MB / 392.7 MB, free: 2.352 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.5551 GB, free: 12.47 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.629e-05, allocations: 2.281 kB / 0.5551 GB, free: 12.46 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.0134/0.01342, allocations: 18.49 MB / 0.5731 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01051/0.02393, allocations: 4.83 MB / 0.5779 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002475/0.0264, allocations: 48 kB / 0.5779 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.02814, allocations: 0.8826 MB / 0.5788 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003745/0.03188, allocations: 2.346 MB / 0.5811 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003054/0.03494, allocations: 2.091 MB / 0.5831 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0057/0.04064, allocations: 5.865 MB / 0.5888 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.04181, allocations: 0.8649 MB / 0.5897 GB, free: 8.883 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003829/0.04564, allocations: 3.3 MB / 0.5929 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002433/0.04808, allocations: 2.266 MB / 0.5951 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001139/0.04921, allocations: 436 kB / 0.5955 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.05027, allocations: 0.5974 MB / 0.5961 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000693/0.05096, allocations: 1.166 MB / 0.5972 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.2436/0.2946, allocations: 1.722 MB / 0.5989 GB, free: 64.34 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004489/0.299, allocations: 6.318 MB / 0.6051 GB, free: 63.93 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2991, allocations: 0 / 0.6051 GB, free: 63.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2991, allocations: 3 kB / 0.6051 GB, free: 63.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.72e-05/0.2991, allocations: 0 / 0.6051 GB, free: 63.93 MB / 0.5105 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.01638/0.3155, allocations: 9.834 MB / 0.6147 GB, free: 61.31 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001148/0.3156, allocations: 10.66 kB / 0.6147 GB, free: 61.31 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006835/0.3163, allocations: 493.3 kB / 0.6152 GB, free: 61.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01339/0.3297, allocations: 4.055 MB / 0.6191 GB, free: 60.85 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003351/0.333, allocations: 2.565 MB / 0.6216 GB, free: 60 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005435/0.3336, allocations: 1.037 MB / 0.6227 GB, free: 59.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004638/0.334, allocations: 349.1 kB / 0.623 GB, free: 59.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007569/0.3416, allocations: 4.751 MB / 0.6276 GB, free: 57.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.379e-05/0.3417, allocations: 0 / 0.6276 GB, free: 57.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003046/0.342, allocations: 142.9 kB / 0.6278 GB, free: 57.73 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.089e-05/0.342, allocations: 84.81 kB / 0.6278 GB, free: 57.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005842/0.3479, allocations: 4.246 MB / 0.632 GB, free: 56.25 MB / 0.5105 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.01881/0.3667, allocations: 13.44 MB / 0.6451 GB, free: 48.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006062/0.3727, allocations: 4.352 MB / 0.6494 GB, free: 46.51 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003157/0.3759, allocations: 2.497 MB / 0.6518 GB, free: 45.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002683/0.3762, allocations: 66.72 kB / 0.6519 GB, free: 45.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003336/0.3795, allocations: 3.199 MB / 0.655 GB, free: 43.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=383): time 4.609e-06/0.3795, allocations: 0 / 0.655 GB, free: 43.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=383): time 0.1547/0.5343, allocations: 67.82 MB / 0.7212 GB, free: 8.789 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.638e-05/0.5343, allocations: 149.8 kB / 0.7214 GB, free: 8.617 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004349/0.5387, allocations: 3.241 MB / 0.7245 GB, free: 5.355 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.00107/0.5398, allocations: 89.7 kB / 0.7246 GB, free: 5.262 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001126/0.5409, allocations: 1.992 MB / 0.7266 GB, free: 3.27 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001299/0.5422, allocations: 1.364 MB / 0.7279 GB, free: 1.922 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009999/0.5432, allocations: 0.6691 MB / 0.7285 GB, free: 1.242 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.5433, allocations: 305.1 kB / 0.7288 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003606/0.5469, allocations: 2.639 MB / 0.7314 GB, free: 14.28 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004039/0.5509, allocations: 3.265 MB / 0.7346 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03759/0.5885, allocations: 18.99 MB / 0.7532 GB, free: 7.598 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.166e-05/0.5885, allocations: 7.75 kB / 0.7532 GB, free: 7.594 MB / 0.573 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.03248/0.621, allocations: 17.2 MB / 0.77 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.446e-05/0.6211, allocations: 67.39 kB / 0.77 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-05/0.6211, allocations: 16 kB / 0.77 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01399/0.6351, allocations: 7.156 MB / 0.777 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002254/0.6373, allocations: 0.6646 MB / 0.7777 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05148/0.6888, allocations: 32.38 MB / 0.8093 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004394/0.6932, allocations: 0.626 MB / 0.8099 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002993/0.6935, allocations: 155.5 kB / 0.8101 GB, free: 13.39 MB / 0.6355 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.001873/0.6954, allocations: 0.6754 MB / 0.8107 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006386/0.696, allocations: 480.9 kB / 0.8112 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03076/0.7268, allocations: 16.74 MB / 0.8275 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-05/0.7268, allocations: 40 kB / 0.8276 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.116e-05/0.7269, allocations: 35.06 kB / 0.8276 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.116e-05/0.7269, allocations: 19.92 kB / 0.8276 GB, free: 11.49 MB / 0.6511 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.03514/0.7621, allocations: 20.39 MB / 0.8475 GB, free: 7.184 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.7621, allocations: 0 / 0.8475 GB, free: 7.184 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.7632, allocations: 396.8 kB / 0.8479 GB, free: 6.82 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2493/1.012, allocations: 7.332 MB / 0.8551 GB, free: 228.8 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001117/1.014, allocations: 73.69 kB / 0.8551 GB, free: 228.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04955/1.063, allocations: 30.78 MB / 0.8852 GB, free: 219.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.063, allocations: 4.875 kB / 0.8852 GB, free: 219.1 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0334/1.097, allocations: 20.16 MB / 0.9049 GB, free: 214 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/1.098, allocations: 0.5054 MB / 0.9054 GB, free: 213.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005366/1.098, allocations: 68.59 kB / 0.9054 GB, free: 213.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002379/1.101, allocations: 372.2 kB / 0.9058 GB, free: 213.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002177/1.103, allocations: 0.8203 MB / 0.9066 GB, free: 213.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000204/1.103, allocations: 95.23 kB / 0.9067 GB, free: 213.4 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001837/1.105, allocations: 2.103 MB / 0.9087 GB, free: 212.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.31e-07/1.105, allocations: 3.938 kB / 0.9087 GB, free: 212.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00321/1.108, allocations: 1.804 MB / 0.9105 GB, free: 212.1 MB / 0.6667 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.03308/1.141, allocations: 20.83 MB / 0.9308 GB, free: 195.3 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01418/1.155, allocations: 8.821 MB / 0.9395 GB, free: 186.4 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.155, allocations: 0 / 0.9395 GB, free: 186.4 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.009869/1.165, allocations: 5.858 MB / 0.9452 GB, free: 180.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003163/1.168, allocations: 388.7 kB / 0.9455 GB, free: 180.1 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08588/1.254, allocations: 58.83 MB / 1.003 GB, free: 120.6 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/1.256, allocations: 1.927 MB / 1.005 GB, free: 118.6 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001086/1.257, allocations: 379.1 kB / 1.005 GB, free: 118.2 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/1.258, allocations: 1.984 MB / 1.007 GB, free: 116.2 MB / 0.6667 GB Notification: Performance of SimCode: time 1.553e-06/1.258, allocations: 0 / 1.007 GB, free: 116.2 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3612/1.619, allocations: 137.2 MB / 1.141 GB, free: 232.8 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.94, allocations: 6.438 kB / 1.141 GB, free: 232.8 MB / 0.6667 GB " [Timeout remaining time 646] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.104781427420676] Failed to read output from testmodel.py, exit status != 0: 14.083523596636951 14.093516693 13.792619145 Calling exit ...