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.001583/0.001583, 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.526/1.526, allocations: 230.6 MB / 252.7 MB, free: 8.105 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.001748/0.001748, allocations: 220.7 kB / 309.2 MB, free: 2.961 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.6091/0.6091, allocations: 107.3 MB / 473 MB, free: 4.449 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.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_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.002551/0.002551, allocations: 95.84 kB / 0.6334 GB, free: 4.848 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5776/0.5801, allocations: 80.16 MB / 0.7116 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.0197/0.5998, allocations: 18.5 MB / 0.7297 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01578/0.6156, allocations: 4.823 MB / 0.7344 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006236/0.6218, allocations: 47.47 kB / 0.7345 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004493/0.6263, allocations: 0.8812 MB / 0.7353 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01215/0.6385, allocations: 2.286 MB / 0.7376 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008829/0.6473, allocations: 2.053 MB / 0.7396 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01387/0.6612, allocations: 5.743 MB / 0.7452 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00363/0.6648, allocations: 0.8618 MB / 0.746 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006468/0.6713, allocations: 2.403 MB / 0.7484 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006551/0.6778, allocations: 2.664 MB / 0.751 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002746/0.6806, allocations: 436.2 kB / 0.7514 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004198/0.6848, allocations: 0.5926 MB / 0.752 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002936/0.6877, allocations: 1.15 MB / 0.7531 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00646/0.6942, allocations: 2.124 MB / 0.7552 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01411/0.7083, allocations: 6.316 MB / 0.7613 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.7083, allocations: 3.938 kB / 0.7613 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.564e-06/0.7083, allocations: 0 / 0.7613 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003872/0.7087, allocations: 7.938 kB / 0.7613 GB, free: 2.434 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.04061/0.7493, allocations: 9.899 MB / 0.771 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.7493, allocations: 8.031 kB / 0.771 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001914/0.7512, allocations: 0.489 MB / 0.7715 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02824/0.7795, allocations: 4.043 MB / 0.7754 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008426/0.7879, allocations: 2.57 MB / 0.7779 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001433/0.7893, allocations: 1.029 MB / 0.7789 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001814/0.7912, allocations: 352 kB / 0.7793 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01541/0.8066, allocations: 4.752 MB / 0.7839 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001382/0.8067, allocations: 7.922 kB / 0.7839 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001313/0.808, allocations: 140 kB / 0.7841 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.402e-05/0.8081, allocations: 84 kB / 0.7841 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0124/0.8205, allocations: 4.245 MB / 0.7883 GB, free: 8.281 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.04418/0.8647, allocations: 13.43 MB / 0.8014 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01425/0.8789, allocations: 4.353 MB / 0.8057 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007098/0.886, allocations: 2.501 MB / 0.8081 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007671/0.8868, allocations: 66.94 kB / 0.8082 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009085/0.8959, allocations: 3.196 MB / 0.8113 GB, free: 220 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=383): time 1.085e-05/0.8959, allocations: 0 / 0.8113 GB, free: 220 kB / 0.5606 GB Notification: Performance of matching and sorting (n=383): time 0.3252/1.221, allocations: 67.82 MB / 0.8775 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002054/1.221, allocations: 149.8 kB / 0.8777 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008299/1.23, allocations: 3.245 MB / 0.8808 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001256/1.231, allocations: 85.7 kB / 0.8809 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002318/1.233, allocations: 2.001 MB / 0.8829 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003062/1.236, allocations: 1.383 MB / 0.8842 GB, free: 5.285 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004049/1.24, allocations: 0.6667 MB / 0.8849 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.24, allocations: 305.1 kB / 0.8852 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007274/1.248, allocations: 2.639 MB / 0.8877 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008049/1.256, allocations: 3.268 MB / 0.8909 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07827/1.334, allocations: 19 MB / 0.9095 GB, free: 10.86 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.081e-05/1.334, allocations: 4 kB / 0.9095 GB, free: 10.86 MB / 0.67 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.06173/1.396, allocations: 17.2 MB / 0.9263 GB, free: 9.598 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.000112/1.396, allocations: 67.39 kB / 0.9263 GB, free: 9.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-05/1.396, allocations: 16 kB / 0.9264 GB, free: 9.504 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02732/1.423, allocations: 7.146 MB / 0.9333 GB, free: 2.352 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003864/1.427, allocations: 0.667 MB / 0.934 GB, free: 1.684 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09259/1.52, allocations: 32.38 MB / 0.9656 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006855/1.527, allocations: 0.6259 MB / 0.9662 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009178/1.528, allocations: 159.9 kB / 0.9664 GB, free: 376 kB / 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.003071/1.531, allocations: 0.6718 MB / 0.967 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001708/1.532, allocations: 476.9 kB / 0.9675 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.495/2.027, allocations: 16.73 MB / 0.9838 GB, free: 224.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.64e-05/2.027, allocations: 37.75 kB / 0.9839 GB, free: 224.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.796e-05/2.027, allocations: 28.47 kB / 0.9839 GB, free: 224.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001284/2.028, allocations: 18.23 kB / 0.9839 GB, free: 224.9 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.06753/2.095, allocations: 20.4 MB / 1.004 GB, free: 221.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.66e-05/2.095, allocations: 0 / 1.004 GB, free: 221.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002555/2.098, allocations: 391.7 kB / 1.004 GB, free: 221.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02802/2.126, allocations: 7.328 MB / 1.011 GB, free: 220.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001169/2.127, allocations: 78.28 kB / 1.011 GB, free: 220.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08235/2.209, allocations: 30.79 MB / 1.042 GB, free: 207.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/2.209, allocations: 0 / 1.042 GB, free: 207.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06215/2.271, allocations: 20.16 MB / 1.061 GB, free: 188.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002246/2.274, allocations: 0.5081 MB / 1.062 GB, free: 188.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002249/2.276, allocations: 64 kB / 1.062 GB, free: 188.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005837/2.282, allocations: 379.6 kB / 1.062 GB, free: 187.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00386/2.286, allocations: 0.8152 MB / 1.063 GB, free: 187 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00101/2.287, allocations: 99.97 kB / 1.063 GB, free: 186.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00436/2.291, allocations: 2.101 MB / 1.065 GB, free: 184.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/2.291, allocations: 4 kB / 1.065 GB, free: 184.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.008498/2.299, allocations: 1.803 MB / 1.067 GB, free: 183 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.06238/2.362, allocations: 20.82 MB / 1.087 GB, free: 162 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02765/2.389, allocations: 8.838 MB / 1.096 GB, free: 153.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/2.389, allocations: 0 / 1.096 GB, free: 153.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0198/2.409, allocations: 5.888 MB / 1.102 GB, free: 147.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007346/2.417, allocations: 385.2 kB / 1.102 GB, free: 146.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1679/2.585, allocations: 58.89 MB / 1.159 GB, free: 87.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003243/2.588, allocations: 1.931 MB / 1.161 GB, free: 85.14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002519/2.59, allocations: 375.1 kB / 1.162 GB, free: 84.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003331/2.594, allocations: 1.979 MB / 1.164 GB, free: 82.79 MB / 0.7325 GB Notification: Performance of SimCode: time 1.824e-06/2.594, allocations: 0 / 1.164 GB, free: 82.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.649/3.243, allocations: 136.9 MB / 1.297 GB, free: 248.8 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.87/25.11, allocations: 2.109 kB / 1.297 GB, free: 248.8 MB / 0.7637 GB " [Timeout remaining time 635] (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: 29.89371752925217] Failed to read output from testmodel.py, exit status != 0: 25.301802478265017 25.320749921 24.608896175 Calling exit ...