Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001455/0.001455, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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 1.506/1.506, allocations: 230.6 MB / 252.7 MB, free: 8.078 MB / 206.1 MB " [Timeout remaining time 178] 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.002001/0.002001, allocations: 227.5 kB / 309.2 MB, free: 2.934 MB / 238.1 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.6116/0.6116, allocations: 107.3 MB / 473 MB, free: 4.426 MB / 334.1 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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00297/0.00297, allocations: 87.86 kB / 0.6334 GB, free: 4.812 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4966/0.4996, allocations: 80.16 MB / 0.7116 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01972/0.5193, allocations: 18.63 MB / 0.7298 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01508/0.5344, allocations: 4.871 MB / 0.7346 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006027/0.5404, allocations: 44.09 kB / 0.7346 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004408/0.5448, allocations: 0.8932 MB / 0.7355 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01095/0.5558, allocations: 2.304 MB / 0.7378 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007961/0.5637, allocations: 2.065 MB / 0.7398 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01266/0.5764, allocations: 5.828 MB / 0.7455 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003925/0.5803, allocations: 0.8604 MB / 0.7463 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006585/0.5869, allocations: 2.438 MB / 0.7487 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0064/0.5933, allocations: 2.71 MB / 0.7513 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002721/0.596, allocations: 447.6 kB / 0.7518 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004287/0.6003, allocations: 0.607 MB / 0.7524 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.003018/0.6033, allocations: 1.17 MB / 0.7535 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00646/0.6098, allocations: 2.14 MB / 0.7556 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01449/0.6243, allocations: 6.404 MB / 0.7618 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.6243, allocations: 0 / 0.7618 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.073e-06/0.6243, allocations: 0 / 0.7618 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003819/0.6247, allocations: 1.25 kB / 0.7618 GB, free: 2.02 MB / 0.5137 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.04075/0.6654, allocations: 9.998 MB / 0.7716 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.6655, allocations: 8.031 kB / 0.7716 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001823/0.6673, allocations: 492.8 kB / 0.7721 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02863/0.6959, allocations: 4.066 MB / 0.7761 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008524/0.7045, allocations: 2.598 MB / 0.7786 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001641/0.7061, allocations: 1.04 MB / 0.7796 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002003/0.7081, allocations: 352 kB / 0.7799 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01546/0.7236, allocations: 4.784 MB / 0.7846 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001423/0.7237, allocations: 0 / 0.7846 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001216/0.7249, allocations: 140 kB / 0.7847 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.953e-05/0.725, allocations: 84 kB / 0.7848 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01207/0.7371, allocations: 4.261 MB / 0.789 GB, free: 7.52 MB / 0.545 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.04111/0.7782, allocations: 13.47 MB / 0.8021 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01381/0.792, allocations: 4.395 MB / 0.8064 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006876/0.7989, allocations: 2.52 MB / 0.8089 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007387/0.7996, allocations: 58.97 kB / 0.8089 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008749/0.8084, allocations: 3.226 MB / 0.8121 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=385): time 1.008e-05/0.8084, allocations: 0 / 0.8121 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=385): time 0.3145/1.123, allocations: 66.6 MB / 0.8771 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/1.123, allocations: 141.8 kB / 0.8773 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00705/1.13, allocations: 3.294 MB / 0.8805 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001144/1.131, allocations: 93.7 kB / 0.8806 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002093/1.133, allocations: 2.005 MB / 0.8825 GB, free: 6.969 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002687/1.136, allocations: 1.39 MB / 0.8839 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003557/1.14, allocations: 0.6903 MB / 0.8846 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.14, allocations: 305.1 kB / 0.8849 GB, free: 4.562 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007084/1.147, allocations: 2.674 MB / 0.8875 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007668/1.154, allocations: 3.3 MB / 0.8907 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07988/1.234, allocations: 19.35 MB / 0.9096 GB, free: 10.72 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.164e-05/1.234, allocations: 4 kB / 0.9096 GB, free: 10.71 MB / 0.67 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.06591/1.3, allocations: 17.19 MB / 0.9264 GB, free: 9.461 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/1.3, allocations: 63.41 kB / 0.9264 GB, free: 9.387 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.763e-05/1.3, allocations: 15.94 kB / 0.9265 GB, free: 9.371 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02944/1.33, allocations: 7.299 MB / 0.9336 GB, free: 2.066 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003952/1.334, allocations: 0.6826 MB / 0.9343 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1049/1.439, allocations: 32.92 MB / 0.9664 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006938/1.446, allocations: 0.6338 MB / 0.967 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/1.447, allocations: 160 kB / 0.9672 GB, free: 15.52 MB / 0.7325 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.00334/1.45, allocations: 0.6753 MB / 0.9678 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001944/1.452, allocations: 480.9 kB / 0.9683 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.431/1.883, allocations: 16.78 MB / 0.9847 GB, free: 225.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.34e-05/1.883, allocations: 41.61 kB / 0.9847 GB, free: 225.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.376e-05/1.883, allocations: 28.88 kB / 0.9847 GB, free: 225.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001299/1.883, allocations: 20.38 kB / 0.9848 GB, free: 225.3 MB / 0.7325 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.06547/1.949, allocations: 20.44 MB / 1.005 GB, free: 222.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.71e-05/1.949, allocations: 0 / 1.005 GB, free: 222.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002557/1.951, allocations: 395.6 kB / 1.005 GB, free: 222.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02735/1.979, allocations: 7.347 MB / 1.012 GB, free: 221 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001208/1.98, allocations: 75.02 kB / 1.012 GB, free: 221 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08312/2.063, allocations: 30.82 MB / 1.042 GB, free: 206.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/2.063, allocations: 0 / 1.042 GB, free: 206.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06178/2.125, allocations: 20.24 MB / 1.062 GB, free: 187.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001859/2.127, allocations: 0.5155 MB / 1.063 GB, free: 187 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001978/2.129, allocations: 64 kB / 1.063 GB, free: 187 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005804/2.134, allocations: 379.5 kB / 1.063 GB, free: 186.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003777/2.138, allocations: 0.8139 MB / 1.064 GB, free: 185.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009157/2.139, allocations: 95.98 kB / 1.064 GB, free: 185.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003826/2.143, allocations: 2.153 MB / 1.066 GB, free: 183.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.21e-07/2.143, allocations: 0 / 1.066 GB, free: 183.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.007676/2.151, allocations: 1.827 MB / 1.068 GB, free: 181.7 MB / 0.7325 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.06323/2.214, allocations: 20.9 MB / 1.088 GB, free: 160.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02677/2.241, allocations: 9.036 MB / 1.097 GB, free: 151.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/2.241, allocations: 8 kB / 1.097 GB, free: 151.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01995/2.261, allocations: 5.944 MB / 1.103 GB, free: 145.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006339/2.267, allocations: 388.6 kB / 1.103 GB, free: 145.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1664/2.433, allocations: 59.25 MB / 1.161 GB, free: 85.17 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00299/2.436, allocations: 1.94 MB / 1.163 GB, free: 83.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002334/2.439, allocations: 375.3 kB / 1.163 GB, free: 82.81 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003043/2.442, allocations: 1.995 MB / 1.165 GB, free: 80.82 MB / 0.7325 GB Notification: Performance of SimCode: time 1.042e-06/2.442, allocations: 0 / 1.165 GB, free: 80.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5671/3.009, allocations: 139.5 MB / 1.302 GB, free: 250.1 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.36/24.36, allocations: 4.5 kB / 1.302 GB, free: 250.1 MB / 0.7637 GB " [Timeout remaining time 635] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.95461179735139] Failed to read output from testmodel.py, exit status != 0: 24.565527792088687 24.58736042 23.957821714 Calling exit ...