Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.001733/0.001733, allocations: 114.5 kB / 17.16 MB, free: 5.895 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.436/1.436, allocations: 230.6 MB / 250.5 MB, free: 9.398 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.002186/0.002186, allocations: 209.8 kB / 306.7 MB, free: 4.332 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.5458/0.5458, allocations: 101.3 MB / 464 MB, free: 12.01 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="cs",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.002518/0.002518, allocations: 83.86 kB / 0.6201 GB, free: 15.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1498, allocations: 78.57 MB / 0.6968 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.311/0.4608, allocations: 21.92 MB / 0.7182 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01285/0.4737, allocations: 4.916 MB / 0.723 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006072/0.4797, allocations: 43.81 kB / 0.7231 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00377/0.4835, allocations: 0.8835 MB / 0.7239 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00933/0.4928, allocations: 2.3 MB / 0.7262 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006439/0.4993, allocations: 2.064 MB / 0.7282 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01176/0.511, allocations: 5.724 MB / 0.7338 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003022/0.514, allocations: 0.9128 MB / 0.7347 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005297/0.5193, allocations: 2.391 MB / 0.737 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006088/0.5254, allocations: 2.951 MB / 0.7399 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002069/0.5275, allocations: 436.3 kB / 0.7403 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003468/0.531, allocations: 0.5986 MB / 0.7409 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002798/0.5338, allocations: 1.16 MB / 0.742 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.005617/0.5394, allocations: 2.604 MB / 0.7446 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01121/0.5506, allocations: 6.271 MB / 0.7507 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.5506, allocations: 0 / 0.7507 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.953e-06/0.5506, allocations: 0 / 0.7507 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003068/0.5509, allocations: 1.406 kB / 0.7507 GB, free: 5.277 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.03384/0.5848, allocations: 9.333 MB / 0.7598 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.5848, allocations: 14.78 kB / 0.7598 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001168/0.5849, allocations: 85.86 kB / 0.7599 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006687/0.5856, allocations: 496 kB / 0.7604 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02771/0.6133, allocations: 4.05 MB / 0.7643 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006125/0.6194, allocations: 2.677 MB / 0.767 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001151/0.6206, allocations: 0.9612 MB / 0.7679 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009507/0.6215, allocations: 352 kB / 0.7682 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01043/0.6319, allocations: 4.727 MB / 0.7728 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.417e-05/0.632, allocations: 1.078 kB / 0.7728 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004125/0.6324, allocations: 140 kB / 0.773 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.605e-05/0.6325, allocations: 84 kB / 0.7731 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009603/0.6421, allocations: 4.244 MB / 0.7772 GB, free: 15.5 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.03936/0.6814, allocations: 18.27 MB / 0.795 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01342/0.6949, allocations: 4.648 MB / 0.7996 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006343/0.7012, allocations: 2.47 MB / 0.802 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004821/0.7017, allocations: 70.91 kB / 0.8021 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00715/0.7088, allocations: 3.169 MB / 0.8052 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=383): time 5.601e-06/0.7088, allocations: 4 kB / 0.8052 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=383): time 0.3224/1.031, allocations: 67.93 MB / 0.8715 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001934/1.031, allocations: 145.8 kB / 0.8716 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007746/1.039, allocations: 3.222 MB / 0.8748 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001085/1.04, allocations: 89.7 kB / 0.8749 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002141/1.042, allocations: 2.001 MB / 0.8768 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002609/1.045, allocations: 1.375 MB / 0.8782 GB, free: 6.52 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00343/1.048, allocations: 0.6784 MB / 0.8788 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.049, allocations: 309 kB / 0.8791 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007155/1.056, allocations: 2.585 MB / 0.8816 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008047/1.064, allocations: 3.209 MB / 0.8848 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0794/1.143, allocations: 18.99 MB / 0.9033 GB, free: 12.23 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.321e-05/1.143, allocations: 4 kB / 0.9033 GB, free: 12.23 MB / 0.67 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.06379/1.207, allocations: 17.14 MB / 0.9201 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/1.207, allocations: 67.41 kB / 0.9201 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.872e-05/1.207, allocations: 12 kB / 0.9201 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02799/1.235, allocations: 7.154 MB / 0.9271 GB, free: 3.789 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003635/1.239, allocations: 0.6748 MB / 0.9278 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09957/1.338, allocations: 33.34 MB / 0.9603 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006897/1.345, allocations: 0.626 MB / 0.961 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001015/1.346, allocations: 152 kB / 0.9611 GB, free: 0.8203 MB / 0.7169 GB Warning: Assuming fixed start value for the following 5 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.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 (403): * Single equations (assignments): 400 * 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.003272/1.35, allocations: 0.6682 MB / 0.9618 GB, free: 140 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001867/1.351, allocations: 481 kB / 0.9622 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3308/1.682, allocations: 16.71 MB / 0.9785 GB, free: 231.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.844e-05/1.682, allocations: 36.97 kB / 0.9786 GB, free: 231.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.798e-05/1.682, allocations: 28.62 kB / 0.9786 GB, free: 231.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.4e-05/1.682, allocations: 19.23 kB / 0.9786 GB, free: 231.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.06308/1.745, allocations: 21.72 MB / 0.9998 GB, free: 228.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-05/1.745, allocations: 0 / 0.9998 GB, free: 228.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002246/1.748, allocations: 388.5 kB / 1 GB, free: 228.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02579/1.774, allocations: 7.345 MB / 1.007 GB, free: 227.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008022/1.774, allocations: 72.58 kB / 1.007 GB, free: 227.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07428/1.849, allocations: 31.86 MB / 1.039 GB, free: 213.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.849, allocations: 0 / 1.039 GB, free: 213.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05632/1.905, allocations: 20.11 MB / 1.058 GB, free: 197 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001688/1.907, allocations: 0.5727 MB / 1.059 GB, free: 196.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008686/1.907, allocations: 60 kB / 1.059 GB, free: 196.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004398/1.912, allocations: 383.5 kB / 1.059 GB, free: 196 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002742/1.915, allocations: 0.7815 MB / 1.06 GB, free: 195.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003134/1.915, allocations: 96.03 kB / 1.06 GB, free: 195.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002661/1.918, allocations: 2.113 MB / 1.062 GB, free: 193 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/1.918, allocations: 4 kB / 1.062 GB, free: 193 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004754/1.922, allocations: 1.806 MB / 1.064 GB, free: 191.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (247): * Single equations (assignments): 244 * 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.05726/1.98, allocations: 20.77 MB / 1.084 GB, free: 170.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02403/2.004, allocations: 8.769 MB / 1.093 GB, free: 161.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/2.004, allocations: 0 / 1.093 GB, free: 161.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01801/2.022, allocations: 5.859 MB / 1.098 GB, free: 155.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003112/2.025, allocations: 392.3 kB / 1.099 GB, free: 155.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1405/2.165, allocations: 58.64 MB / 1.156 GB, free: 95.88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001617/2.167, allocations: 2.448 MB / 1.158 GB, free: 93.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001677/2.169, allocations: 379.1 kB / 1.159 GB, free: 93.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002198/2.171, allocations: 1.983 MB / 1.161 GB, free: 91.04 MB / 0.7325 GB Notification: Performance of SimCode: time 1.312e-06/2.171, allocations: 0 / 1.161 GB, free: 91.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4878/2.659, allocations: 127.4 MB / 1.285 GB, free: 238 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.86/25.52, allocations: 8.969 kB / 1.285 GB, free: 238 MB / 0.7481 GB " [Timeout remaining time 634] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 30.70939544198336] Failed to read output from testmodel.py, exit status != 0: 25.74361566104926 25.76654436 25.210916957 Calling exit ...