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.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.0008267/0.0008267, 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.9708/0.9708, allocations: 177.2 MB / 199.4 MB, free: 5.934 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.001183/0.001183, allocations: 156.6 kB / 256 MB, free: 13.35 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.262/0.262, allocations: 80.36 MB / 392.7 MB, free: 2.375 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.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 1.293e-06/1.293e-06, allocations: 0 / 0.5551 GB, free: 12.46 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.336e-05/1.465e-05, allocations: 2.281 kB / 0.5551 GB, free: 12.45 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01246/0.01247, allocations: 18.56 MB / 0.5732 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.02304, allocations: 4.861 MB / 0.578 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002243/0.02529, allocations: 44 kB / 0.578 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.02675, allocations: 0.8826 MB / 0.5789 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.004803/0.03155, allocations: 2.363 MB / 0.5812 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00303/0.03458, allocations: 2.095 MB / 0.5832 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003889/0.03847, allocations: 5.92 MB / 0.589 GB, free: 9.609 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009932/0.03946, allocations: 0.861 MB / 0.5898 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002771/0.04223, allocations: 3.335 MB / 0.5931 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001917/0.04415, allocations: 2.293 MB / 0.5953 GB, free: 3.051 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0004109/0.04456, allocations: 447.9 kB / 0.5958 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007083/0.04527, allocations: 0.5974 MB / 0.5963 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005816/0.04585, allocations: 1.182 MB / 0.5975 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.2406/0.2865, allocations: 1.74 MB / 0.5992 GB, free: 64.45 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004063/0.2906, allocations: 6.373 MB / 0.6054 GB, free: 64.04 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2906, allocations: 0.6562 kB / 0.6054 GB, free: 64.04 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2906, allocations: 0 / 0.6054 GB, free: 64.04 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.185e-05/0.2906, allocations: 0 / 0.6054 GB, free: 64.04 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.01543/0.306, allocations: 9.903 MB / 0.6151 GB, free: 61.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3061, allocations: 9.125 kB / 0.6151 GB, free: 61.4 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005091/0.3066, allocations: 488.5 kB / 0.6156 GB, free: 61.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01349/0.3201, allocations: 4.059 MB / 0.6195 GB, free: 60.94 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002969/0.3231, allocations: 2.595 MB / 0.6221 GB, free: 60.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004512/0.3235, allocations: 1.038 MB / 0.6231 GB, free: 59.29 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004575/0.324, allocations: 351.5 kB / 0.6234 GB, free: 59.29 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006251/0.3302, allocations: 4.769 MB / 0.6281 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.373e-05/0.3303, allocations: 0 / 0.6281 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000304/0.3306, allocations: 142.4 kB / 0.6282 GB, free: 57.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.266e-05/0.3306, allocations: 84.53 kB / 0.6283 GB, free: 57.66 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005349/0.3359, allocations: 4.256 MB / 0.6324 GB, free: 56.18 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.01637/0.3523, allocations: 13.45 MB / 0.6456 GB, free: 48.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006146/0.3585, allocations: 4.369 MB / 0.6498 GB, free: 46.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003139/0.3616, allocations: 2.522 MB / 0.6523 GB, free: 45.06 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000267/0.3619, allocations: 55.56 kB / 0.6524 GB, free: 45.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003425/0.3653, allocations: 3.213 MB / 0.6555 GB, free: 43.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=384): time 4.698e-06/0.3653, allocations: 3.938 kB / 0.6555 GB, free: 43.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=384): time 0.1542/0.5195, allocations: 67.54 MB / 0.7215 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.5195, allocations: 145.8 kB / 0.7216 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004223/0.5238, allocations: 3.281 MB / 0.7248 GB, free: 5.363 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0008731/0.5246, allocations: 89.7 kB / 0.7249 GB, free: 5.27 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.5257, allocations: 2.003 MB / 0.7268 GB, free: 3.262 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001224/0.5269, allocations: 1.374 MB / 0.7282 GB, free: 1.906 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009513/0.5279, allocations: 0.6746 MB / 0.7288 GB, free: 1.219 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.591e-05/0.5279, allocations: 301.1 kB / 0.7291 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003461/0.5314, allocations: 2.655 MB / 0.7317 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003744/0.5351, allocations: 3.29 MB / 0.7349 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03847/0.5736, allocations: 19.22 MB / 0.7537 GB, free: 7.32 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.958e-05/0.5736, allocations: 4 kB / 0.7537 GB, free: 7.316 MB / 0.573 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.03156/0.6052, allocations: 17.25 MB / 0.7706 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.914e-05/0.6052, allocations: 67.16 kB / 0.7706 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.591e-05/0.6053, allocations: 12 kB / 0.7706 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01442/0.6197, allocations: 7.152 MB / 0.7776 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002607/0.6223, allocations: 0.6908 MB / 0.7783 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05078/0.6731, allocations: 32.39 MB / 0.8099 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004898/0.678, allocations: 0.6337 MB / 0.8105 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002637/0.6782, allocations: 160 kB / 0.8107 GB, free: 13.02 MB / 0.6355 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.001873/0.6801, allocations: 0.6702 MB / 0.8113 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005629/0.6807, allocations: 484.8 kB / 0.8118 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02958/0.7102, allocations: 16.76 MB / 0.8282 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.7103, allocations: 40 kB / 0.8282 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.654e-05/0.7103, allocations: 35.94 kB / 0.8282 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.114e-05/0.7103, allocations: 19.92 kB / 0.8283 GB, free: 11.1 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.03444/0.7448, allocations: 20.42 MB / 0.8482 GB, free: 6.766 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/0.7448, allocations: 4 kB / 0.8482 GB, free: 6.762 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/0.746, allocations: 387 kB / 0.8486 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2604/1.006, allocations: 7.373 MB / 0.8558 GB, free: 228 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001116/1.008, allocations: 75.45 kB / 0.8558 GB, free: 228 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05168/1.059, allocations: 30.77 MB / 0.8859 GB, free: 218.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/1.059, allocations: 5.094 kB / 0.8859 GB, free: 218.3 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03391/1.093, allocations: 20.2 MB / 0.9056 GB, free: 213.2 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001634/1.095, allocations: 0.5082 MB / 0.9061 GB, free: 212.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004485/1.095, allocations: 59.81 kB / 0.9062 GB, free: 212.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002514/1.098, allocations: 382.4 kB / 0.9065 GB, free: 212.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002373/1.1, allocations: 0.8119 MB / 0.9073 GB, free: 212.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001857/1.1, allocations: 104.6 kB / 0.9074 GB, free: 212.5 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001736/1.102, allocations: 2.136 MB / 0.9095 GB, free: 211.8 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.8e-07/1.102, allocations: 3.609 kB / 0.9095 GB, free: 211.8 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003582/1.106, allocations: 1.814 MB / 0.9113 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: 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.03304/1.139, allocations: 20.86 MB / 0.9317 GB, free: 194.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01432/1.153, allocations: 8.856 MB / 0.9403 GB, free: 185.7 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.153, allocations: 0 / 0.9403 GB, free: 185.7 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.01035/1.163, allocations: 5.913 MB / 0.9461 GB, free: 179.7 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003101/1.166, allocations: 383.8 kB / 0.9465 GB, free: 179.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08258/1.249, allocations: 59.15 MB / 1.004 GB, free: 119.5 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/1.25, allocations: 1.939 MB / 1.006 GB, free: 117.5 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001158/1.251, allocations: 379.2 kB / 1.006 GB, free: 117.1 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001354/1.253, allocations: 2.028 MB / 1.008 GB, free: 115.1 MB / 0.6667 GB Notification: Performance of SimCode: time 1.302e-06/1.253, allocations: 0 / 1.008 GB, free: 115.1 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3479/1.601, allocations: 138.1 MB / 1.143 GB, free: 219.1 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/14.59, allocations: 3.281 kB / 1.143 GB, free: 219.1 MB / 0.6667 GB " [Timeout remaining time 645] (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: 17.72762115765363] Failed to read output from testmodel.py, exit status != 0: 14.73938887193799 14.747730547 14.455571356 Calling exit ...