Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.0007693/0.0007693, 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.8905/0.8905, allocations: 177.1 MB / 199.4 MB, free: 5.941 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.001036/0.001036, 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 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.2698/0.2698, allocations: 80.26 MB / 392.6 MB, free: 2.441 MB / 314.7 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.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.5549 GB, free: 12.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038e-05/1.173e-05, allocations: 2.281 kB / 0.5549 GB, free: 12.56 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01249/0.0125, allocations: 18.4 MB / 0.5729 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.008144/0.02064, allocations: 4.83 MB / 0.5776 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/0.02249, allocations: 44 kB / 0.5776 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.02403, allocations: 0.8749 MB / 0.5785 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003569/0.0276, allocations: 2.343 MB / 0.5808 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002906/0.0305, allocations: 2.088 MB / 0.5828 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003745/0.03425, allocations: 5.858 MB / 0.5885 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008791/0.03513, allocations: 0.861 MB / 0.5894 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002372/0.0375, allocations: 3.304 MB / 0.5926 GB, free: 5.781 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001545/0.03904, allocations: 2.262 MB / 0.5948 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003822/0.03943, allocations: 440 kB / 0.5952 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006629/0.04009, allocations: 0.5896 MB / 0.5958 GB, free: 2.492 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005784/0.04067, allocations: 1.178 MB / 0.597 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.1965/0.2371, allocations: 1.719 MB / 0.5986 GB, free: 64.36 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.005079/0.2422, allocations: 6.321 MB / 0.6048 GB, free: 63.96 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2422, allocations: 0 / 0.6048 GB, free: 63.96 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2422, allocations: 0 / 0.6048 GB, free: 63.96 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.336e-05/0.2423, allocations: 0 / 0.6048 GB, free: 63.96 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01638/0.2587, allocations: 9.841 MB / 0.6144 GB, free: 61.33 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.2587, allocations: 9.094 kB / 0.6144 GB, free: 61.33 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005091/0.2592, allocations: 489 kB / 0.6149 GB, free: 61.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01367/0.2729, allocations: 4.056 MB / 0.6189 GB, free: 60.87 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003514/0.2764, allocations: 2.567 MB / 0.6214 GB, free: 60.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005436/0.2769, allocations: 1.038 MB / 0.6224 GB, free: 59.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005058/0.2775, allocations: 343.8 kB / 0.6227 GB, free: 59.23 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006459/0.2839, allocations: 4.752 MB / 0.6274 GB, free: 57.92 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.469e-05/0.284, allocations: 1.469 kB / 0.6274 GB, free: 57.92 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002984/0.2843, allocations: 141.4 kB / 0.6275 GB, free: 57.81 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.453e-05/0.2843, allocations: 85.28 kB / 0.6276 GB, free: 57.81 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005636/0.2899, allocations: 4.244 MB / 0.6317 GB, free: 56.33 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.01668/0.3066, allocations: 13.4 MB / 0.6448 GB, free: 48.67 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006109/0.3127, allocations: 4.354 MB / 0.6491 GB, free: 46.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002927/0.3157, allocations: 2.5 MB / 0.6515 GB, free: 45.35 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002821/0.316, allocations: 61.11 kB / 0.6516 GB, free: 45.33 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003424/0.3194, allocations: 3.206 MB / 0.6547 GB, free: 43.47 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=382): time 5.149e-06/0.3194, allocations: 0 / 0.6547 GB, free: 43.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=382): time 0.1574/0.4768, allocations: 67.97 MB / 0.7211 GB, free: 8.801 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/0.4768, allocations: 145.8 kB / 0.7212 GB, free: 8.633 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003758/0.4806, allocations: 3.253 MB / 0.7244 GB, free: 5.359 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005756/0.4812, allocations: 89.69 kB / 0.7245 GB, free: 5.266 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.4822, allocations: 2.001 MB / 0.7264 GB, free: 3.266 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001452/0.4837, allocations: 1.356 MB / 0.7277 GB, free: 1.93 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001021/0.4847, allocations: 0.6705 MB / 0.7284 GB, free: 1.246 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.114e-05/0.4847, allocations: 303.7 kB / 0.7287 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003685/0.4884, allocations: 2.631 MB / 0.7313 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003906/0.4923, allocations: 3.254 MB / 0.7344 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03909/0.5314, allocations: 18.97 MB / 0.753 GB, free: 7.641 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-05/0.5314, allocations: 4 kB / 0.753 GB, free: 7.637 MB / 0.573 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.03158/0.563, allocations: 16.89 MB / 0.7695 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.986e-05/0.5631, allocations: 63.41 kB / 0.7695 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.97e-05/0.5631, allocations: 12 kB / 0.7695 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01432/0.5774, allocations: 7.232 MB / 0.7766 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00241/0.5799, allocations: 0.6632 MB / 0.7772 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05285/0.6327, allocations: 32.79 MB / 0.8093 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004455/0.6372, allocations: 0.6221 MB / 0.8099 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003321/0.6375, allocations: 148 kB / 0.81 GB, free: 13.33 MB / 0.6355 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 (398): * Single equations (assignments): 395 * 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,45)} Notification: Performance of prepare postOptimizeDAE: time 0.001551/0.639, allocations: 0.6731 MB / 0.8107 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007018/0.6397, allocations: 476.9 kB / 0.8111 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03082/0.6706, allocations: 16.74 MB / 0.8275 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.573e-05/0.6706, allocations: 38.25 kB / 0.8275 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.847e-05/0.6706, allocations: 28 kB / 0.8275 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.063e-05/0.6707, allocations: 23.3 kB / 0.8276 GB, free: 11.43 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.03641/0.7071, allocations: 20.37 MB / 0.8475 GB, free: 7.137 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.183e-05/0.7071, allocations: 0 / 0.8475 GB, free: 7.137 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/0.7085, allocations: 389.2 kB / 0.8478 GB, free: 6.781 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2407/0.9492, allocations: 7.364 MB / 0.855 GB, free: 228.8 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009849/0.9502, allocations: 75.12 kB / 0.8551 GB, free: 228.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04794/0.9981, allocations: 30.79 MB / 0.8852 GB, free: 219.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.9981, allocations: 0.5625 kB / 0.8852 GB, free: 219.2 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03351/1.032, allocations: 20.16 MB / 0.9048 GB, free: 214.1 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/1.033, allocations: 0.4991 MB / 0.9053 GB, free: 213.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004661/1.033, allocations: 59.75 kB / 0.9054 GB, free: 213.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002142/1.036, allocations: 385.9 kB / 0.9058 GB, free: 213.7 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002153/1.038, allocations: 0.8157 MB / 0.9066 GB, free: 213.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001875/1.038, allocations: 94.8 kB / 0.9066 GB, free: 213.5 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00168/1.04, allocations: 2.108 MB / 0.9087 GB, free: 212.7 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.1e-08/1.04, allocations: 3.938 kB / 0.9087 GB, free: 212.7 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003009/1.043, allocations: 1.802 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: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03132/1.074, allocations: 20.81 MB / 0.9308 GB, free: 195.3 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01274/1.087, allocations: 8.949 MB / 0.9395 GB, free: 186.3 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.087, allocations: 0 / 0.9395 GB, free: 186.3 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.009144/1.096, allocations: 5.896 MB / 0.9453 GB, free: 180.3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/1.098, allocations: 386.1 kB / 0.9457 GB, free: 179.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07781/1.176, allocations: 58.16 MB / 1.002 GB, free: 121 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/1.177, allocations: 1.927 MB / 1.004 GB, free: 119.1 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001015/1.178, allocations: 376.6 kB / 1.005 GB, free: 118.7 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/1.179, allocations: 2.023 MB / 1.007 GB, free: 116.7 MB / 0.6667 GB Notification: Performance of SimCode: time 1.593e-06/1.179, allocations: 0 / 1.007 GB, free: 116.7 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.319/1.498, allocations: 138.3 MB / 1.142 GB, free: 220.1 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/14.68, allocations: 1.188 kB / 1.142 GB, free: 220.1 MB / 0.6667 GB " [Timeout remaining time 645] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.606086172163486] Failed to read output from testmodel.py, exit status != 0: 14.825207240879536 14.833658229 14.589710705 Calling exit ...