Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.0007292/0.0007292, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.8394/0.8394, allocations: 177.1 MB / 199.4 MB, free: 5.926 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.000942/0.000942, allocations: 156.6 kB / 256 MB, free: 13.34 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.2623/0.2623, allocations: 80.25 MB / 392.6 MB, free: 2.438 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.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.5548 GB, free: 12.71 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.514e-05, allocations: 5.781 kB / 0.5548 GB, free: 12.71 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.004566/0.004581, allocations: 5.77 MB / 0.5604 GB, free: 6.906 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002718/0.007299, allocations: 1.916 MB / 0.5623 GB, free: 4.984 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003919/0.007691, allocations: 12 kB / 0.5623 GB, free: 4.973 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005002/0.008191, allocations: 241.8 kB / 0.5625 GB, free: 4.734 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.009407, allocations: 0.8611 MB / 0.5634 GB, free: 3.871 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008331/0.01024, allocations: 0.6378 MB / 0.564 GB, free: 3.238 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009263/0.01117, allocations: 1.576 MB / 0.5655 GB, free: 1.656 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.01142, allocations: 214.9 kB / 0.5658 GB, free: 1.434 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006455/0.01207, allocations: 0.9038 MB / 0.5666 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005031/0.01257, allocations: 0.6659 MB / 0.5673 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.01268, allocations: 124 kB / 0.5674 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.01298, allocations: 283.6 kB / 0.5677 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.01317, allocations: 334.5 kB / 0.568 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002657/0.01344, allocations: 458.5 kB / 0.5684 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.01451, allocations: 1.729 MB / 0.5701 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.01451, allocations: 0 / 0.5701 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.944e-06/0.01451, allocations: 4 kB / 0.5701 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.01452, allocations: 0 / 0.5701 GB, free: 12.95 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004449/0.01897, allocations: 2.796 MB / 0.5729 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.019, allocations: 12.02 kB / 0.5729 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001048/0.01911, allocations: 122.6 kB / 0.573 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002452/0.02156, allocations: 0.803 MB / 0.5738 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009405/0.0225, allocations: 0.8268 MB / 0.5746 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/0.02269, allocations: 341.2 kB / 0.5749 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.0228, allocations: 84 kB / 0.575 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.02412, allocations: 1.104 MB / 0.5761 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.02413, allocations: 4 kB / 0.5761 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.43e-05/0.02419, allocations: 35.94 kB / 0.5761 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.02421, allocations: 19.94 kB / 0.5761 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.02548, allocations: 1.009 MB / 0.5771 GB, free: 5.605 MB / 0.4948 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.003655/0.02913, allocations: 2.929 MB / 0.58 GB, free: 2.605 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003778/0.03291, allocations: 2.024 MB / 0.5819 GB, free: 0.5625 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008189/0.03373, allocations: 0.6454 MB / 0.5826 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.77e-05/0.03381, allocations: 13 kB / 0.5826 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.03482, allocations: 0.8389 MB / 0.5834 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=95): time 2.074e-06/0.03482, allocations: 4 kB / 0.5834 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95): time 0.01486/0.04968, allocations: 7.064 MB / 0.5903 GB, free: 7.926 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.04974, allocations: 115.8 kB / 0.5904 GB, free: 7.789 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.05081, allocations: 1.103 MB / 0.5915 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.662e-05/0.05088, allocations: 45.7 kB / 0.5915 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/0.05119, allocations: 0.4976 MB / 0.592 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002411/0.05143, allocations: 360.9 kB / 0.5924 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003102/0.05174, allocations: 283.5 kB / 0.5926 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.846e-05/0.05181, allocations: 309.1 kB / 0.5929 GB, free: 5.176 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.05282, allocations: 0.8076 MB / 0.5937 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.05388, allocations: 0.9806 MB / 0.5947 GB, free: 3.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1934/0.2473, allocations: 5.772 MB / 0.6003 GB, free: 91.32 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-06/0.2473, allocations: 0 / 0.6003 GB, free: 91.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.006934/0.2542, allocations: 4.396 MB / 0.6046 GB, free: 90.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.2543, allocations: 61.03 kB / 0.6047 GB, free: 90.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.2543, allocations: 2.906 kB / 0.6047 GB, free: 90.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002774/0.257, allocations: 1.591 MB / 0.6062 GB, free: 90.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006656/0.2577, allocations: 281.7 kB / 0.6065 GB, free: 90.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.2691, allocations: 8.223 MB / 0.6145 GB, free: 86.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009408/0.27, allocations: 206.1 kB / 0.6147 GB, free: 86.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-05/0.2701, allocations: 56.58 kB / 0.6148 GB, free: 86.51 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (160): * Single equations (assignments): 157 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003991/0.2705, allocations: 308.9 kB / 0.6151 GB, free: 86.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.2706, allocations: 130.3 kB / 0.6152 GB, free: 86.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006853/0.2775, allocations: 3.863 MB / 0.619 GB, free: 85.26 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.2775, allocations: 11.25 kB / 0.619 GB, free: 85.26 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.2775, allocations: 7.5 kB / 0.619 GB, free: 85.26 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.2775, allocations: 4.828 kB / 0.619 GB, free: 85.26 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 postOpt removeSimpleEquations (simulation): time 0.007817/0.2853, allocations: 4.988 MB / 0.6239 GB, free: 83.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2853, allocations: 1.031 kB / 0.6239 GB, free: 83.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002862/0.2856, allocations: 100.8 kB / 0.6239 GB, free: 83.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002833/0.2884, allocations: 1.604 MB / 0.6255 GB, free: 83.37 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.602e-05/0.2885, allocations: 24.98 kB / 0.6255 GB, free: 83.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/0.299, allocations: 9.235 MB / 0.6346 GB, free: 78.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.299, allocations: 1.281 kB / 0.6346 GB, free: 78.25 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007123/0.3061, allocations: 4.766 MB / 0.6392 GB, free: 76.21 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.3063, allocations: 152.5 kB / 0.6394 GB, free: 76.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.861e-05/0.3064, allocations: 15.81 kB / 0.6394 GB, free: 76.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005127/0.3069, allocations: 109.5 kB / 0.6395 GB, free: 76.05 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003059/0.3072, allocations: 217.4 kB / 0.6397 GB, free: 75.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.41e-05/0.3072, allocations: 31.14 kB / 0.6397 GB, free: 75.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005676/0.3078, allocations: 0.7292 MB / 0.6404 GB, free: 75.49 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3078, allocations: 0 / 0.6404 GB, free: 75.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008868/0.3087, allocations: 473.6 kB / 0.6409 GB, free: 75.43 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.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 (63): * Single equations (assignments): 60 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007005/0.3157, allocations: 5.348 MB / 0.6461 GB, free: 70.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003065/0.3188, allocations: 2.46 MB / 0.6485 GB, free: 68.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3188, allocations: 4.25 kB / 0.6485 GB, free: 68.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001889/0.3207, allocations: 1.552 MB / 0.65 GB, free: 66.81 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005459/0.3212, allocations: 128.6 kB / 0.6501 GB, free: 66.69 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01876/0.34, allocations: 16.09 MB / 0.6659 GB, free: 50.37 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.3402, allocations: 0.5355 MB / 0.6664 GB, free: 49.79 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002369/0.3405, allocations: 116.8 kB / 0.6665 GB, free: 49.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003421/0.3408, allocations: 484.3 kB / 0.667 GB, free: 49.2 MB / 0.5105 GB Notification: Performance of SimCode: time 8.92e-07/0.3408, allocations: 0 / 0.667 GB, free: 49.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03888/0.3797, allocations: 37.79 MB / 0.7039 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.727/9.106, allocations: 3.984 kB / 0.7039 GB, free: 11.72 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.308869094587862] Failed to read output from testmodel.py, exit status != 0: 9.216632631607354 9.223420049 9.207253657 Calling exit ...