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.00114/0.00114, 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.865/0.865, allocations: 177.1 MB / 199.4 MB, free: 5.949 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.001005/0.001005, allocations: 164.5 kB / 256 MB, free: 13.35 MB / 250.7 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.2622/0.2622, allocations: 80.25 MB / 392.6 MB, free: 2.449 MB / 314.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5549 GB, free: 12.56 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.066e-05, allocations: 8.641 kB / 0.5549 GB, free: 12.55 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01185/0.01188, allocations: 18.6 MB / 0.5731 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007891/0.01977, allocations: 4.885 MB / 0.5779 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.02148, allocations: 44 kB / 0.5779 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.02274, allocations: 0.8827 MB / 0.5788 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003448/0.02619, allocations: 2.366 MB / 0.5811 GB, free: 1.656 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002723/0.02891, allocations: 2.105 MB / 0.5831 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00419/0.0331, allocations: 5.959 MB / 0.5889 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009519/0.03405, allocations: 0.865 MB / 0.5898 GB, free: 8.676 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002845/0.0369, allocations: 3.346 MB / 0.5931 GB, free: 5.32 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/0.03857, allocations: 2.305 MB / 0.5953 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0004116/0.03898, allocations: 448 kB / 0.5957 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007204/0.03971, allocations: 0.6052 MB / 0.5963 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005627/0.04027, allocations: 1.19 MB / 0.5975 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.1976/0.2378, allocations: 1.747 MB / 0.5992 GB, free: 64.16 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.005164/0.243, allocations: 6.399 MB / 0.6054 GB, free: 63.75 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.243, allocations: 0.6094 kB / 0.6054 GB, free: 63.75 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.964e-06/0.243, allocations: 0 / 0.6054 GB, free: 63.75 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001131/0.2431, allocations: 0 / 0.6054 GB, free: 63.75 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.01766/0.2608, allocations: 9.934 MB / 0.6151 GB, free: 61.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.2608, allocations: 10.34 kB / 0.6152 GB, free: 61.1 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005064/0.2613, allocations: 489.8 kB / 0.6156 GB, free: 61.04 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01383/0.2751, allocations: 4.057 MB / 0.6196 GB, free: 60.64 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004691/0.2798, allocations: 2.609 MB / 0.6221 GB, free: 59.78 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006018/0.2804, allocations: 1.035 MB / 0.6231 GB, free: 58.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007288/0.2812, allocations: 351.5 kB / 0.6235 GB, free: 58.99 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00674/0.2879, allocations: 4.774 MB / 0.6281 GB, free: 57.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.575e-05/0.288, allocations: 2.438 kB / 0.6281 GB, free: 57.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003059/0.2883, allocations: 148.4 kB / 0.6283 GB, free: 57.64 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.965e-05/0.2883, allocations: 83.66 kB / 0.6284 GB, free: 57.64 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005484/0.2938, allocations: 4.266 MB / 0.6325 GB, free: 56.14 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.01702/0.3108, allocations: 13.48 MB / 0.6457 GB, free: 48.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006137/0.317, allocations: 4.394 MB / 0.65 GB, free: 46.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003183/0.3201, allocations: 2.515 MB / 0.6524 GB, free: 44.92 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000275/0.3204, allocations: 63.59 kB / 0.6525 GB, free: 44.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003403/0.3238, allocations: 3.231 MB / 0.6557 GB, free: 43.03 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=385): time 5.871e-06/0.3238, allocations: 0 / 0.6557 GB, free: 43.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=385): time 0.15/0.4738, allocations: 66.59 MB / 0.7207 GB, free: 9.492 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/0.474, allocations: 145.8 kB / 0.7208 GB, free: 9.324 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00361/0.4776, allocations: 3.298 MB / 0.724 GB, free: 6.008 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0007674/0.4784, allocations: 89.7 kB / 0.7241 GB, free: 5.914 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.4794, allocations: 2.003 MB / 0.7261 GB, free: 3.91 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001299/0.4807, allocations: 1.375 MB / 0.7274 GB, free: 2.555 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001085/0.4817, allocations: 0.6811 MB / 0.7281 GB, free: 1.863 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.531e-05/0.4818, allocations: 305.1 kB / 0.7284 GB, free: 1.562 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003769/0.4856, allocations: 2.67 MB / 0.731 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003929/0.4895, allocations: 3.303 MB / 0.7342 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03898/0.5285, allocations: 19.34 MB / 0.7531 GB, free: 7.805 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.653e-05/0.5285, allocations: 8 kB / 0.7531 GB, free: 7.797 MB / 0.573 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.03254/0.5611, allocations: 17.19 MB / 0.7699 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.621e-05/0.5611, allocations: 67.34 kB / 0.77 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.068e-05/0.5612, allocations: 16 kB / 0.77 GB, free: 6.652 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01512/0.5763, allocations: 7.298 MB / 0.7771 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002611/0.5789, allocations: 0.6827 MB / 0.7778 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05217/0.6311, allocations: 32.92 MB / 0.8099 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004092/0.6351, allocations: 0.6376 MB / 0.8105 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003353/0.6355, allocations: 153.2 kB / 0.8107 GB, free: 12.93 MB / 0.6355 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.001466/0.6369, allocations: 0.6683 MB / 0.8113 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006667/0.6376, allocations: 484.9 kB / 0.8118 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03033/0.6679, allocations: 16.78 MB / 0.8282 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.713e-05/0.668, allocations: 39.05 kB / 0.8282 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.074e-05/0.668, allocations: 28 kB / 0.8283 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.289e-05/0.6681, allocations: 23.92 kB / 0.8283 GB, free: 10.99 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.03599/0.7041, allocations: 20.45 MB / 0.8483 GB, free: 6.629 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.7041, allocations: 0 / 0.8483 GB, free: 6.629 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/0.7055, allocations: 399.3 kB / 0.8486 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2059/0.9114, allocations: 7.333 MB / 0.8558 GB, free: 229 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001102/0.9125, allocations: 77.06 kB / 0.8559 GB, free: 229 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04805/0.9605, allocations: 30.82 MB / 0.886 GB, free: 219.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9605, allocations: 1.219 kB / 0.886 GB, free: 219.2 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03316/0.9937, allocations: 20.24 MB / 0.9057 GB, free: 214 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/0.995, allocations: 0.509 MB / 0.9062 GB, free: 213.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000621/0.9956, allocations: 71.5 kB / 0.9063 GB, free: 213.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002194/0.9978, allocations: 379.8 kB / 0.9067 GB, free: 213.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002172/1, allocations: 0.8163 MB / 0.9074 GB, free: 213.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/1, allocations: 94.47 kB / 0.9075 GB, free: 213.4 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001759/1.002, allocations: 2.149 MB / 0.9096 GB, free: 212.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2e-07/1.002, allocations: 0 / 0.9096 GB, free: 212.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003697/1.006, allocations: 1.831 MB / 0.9114 GB, free: 211.5 MB / 0.6667 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.03107/1.037, allocations: 20.9 MB / 0.9318 GB, free: 194.2 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01306/1.05, allocations: 9.025 MB / 0.9406 GB, free: 185.1 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.05, allocations: 0 / 0.9406 GB, free: 185.1 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.009203/1.059, allocations: 5.917 MB / 0.9464 GB, free: 179.2 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/1.061, allocations: 392 kB / 0.9468 GB, free: 178.8 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07846/1.14, allocations: 59.12 MB / 1.005 GB, free: 118.9 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/1.141, allocations: 1.944 MB / 1.006 GB, free: 117 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001237/1.142, allocations: 375.3 kB / 1.007 GB, free: 116.6 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001416/1.143, allocations: 1.997 MB / 1.009 GB, free: 114.6 MB / 0.6667 GB Notification: Performance of SimCode: time 1.843e-06/1.143, allocations: 0 / 1.009 GB, free: 114.6 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3116/1.455, allocations: 139.9 MB / 1.145 GB, free: 219.7 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/15.09, allocations: 7.531 kB / 1.145 GB, free: 219.7 MB / 0.6667 GB " [Timeout remaining time 645] (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: 17.875044559128582] Failed to read output from testmodel.py, exit status != 0: 15.232121619395912 15.24507995 14.999738325 Calling exit ...