Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 107.6 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 244.8 MB, free: 14.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 187.9 kB / 299.8 MB, free: 9.832 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6176/0.6176, allocations: 99.66 MB / 454.4 MB, free: 5.035 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 87.86 kB / 0.6074 GB, free: 9.492 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1949, allocations: 76.93 MB / 0.6825 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.008708/0.2037, allocations: 6.705 MB / 0.689 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005153/0.2088, allocations: 2.001 MB / 0.691 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.2099, allocations: 15.88 kB / 0.691 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009718/0.2109, allocations: 242 kB / 0.6912 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00268/0.2136, allocations: 0.8588 MB / 0.6921 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.2152, allocations: 0.6458 MB / 0.6927 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00222/0.2174, allocations: 1.643 MB / 0.6943 GB, free: 256 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004504/0.2178, allocations: 226.5 kB / 0.6945 GB, free: 16 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4687/0.6865, allocations: 0.6709 MB / 0.6952 GB, free: 8.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00213/0.6886, allocations: 0.8737 MB / 0.696 GB, free: 8.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004678/0.6891, allocations: 128.4 kB / 0.6962 GB, free: 8.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008539/0.6899, allocations: 263.4 kB / 0.6964 GB, free: 8.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003868/0.6903, allocations: 342.3 kB / 0.6967 GB, free: 8.516 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008088/0.6911, allocations: 0.6896 MB / 0.6974 GB, free: 8.301 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002355/0.6935, allocations: 1.717 MB / 0.6991 GB, free: 8.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6935, allocations: 0 / 0.6991 GB, free: 8.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6935, allocations: 0 / 0.6991 GB, free: 8.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.323e-05/0.6935, allocations: 0.5 kB / 0.6991 GB, free: 8.02 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.009906/0.7034, allocations: 2.795 MB / 0.7018 GB, free: 7.012 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.7035, allocations: 8.812 kB / 0.7018 GB, free: 7.012 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002031/0.7037, allocations: 133.4 kB / 0.7019 GB, free: 6.973 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005056/0.7087, allocations: 0.7883 MB / 0.7027 GB, free: 6.871 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001878/0.7106, allocations: 0.9245 MB / 0.7036 GB, free: 6.484 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002616/0.7109, allocations: 257.8 kB / 0.7039 GB, free: 6.297 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.7111, allocations: 82.8 kB / 0.7039 GB, free: 6.297 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/0.7132, allocations: 1.103 MB / 0.705 GB, free: 6.211 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.7133, allocations: 0 / 0.705 GB, free: 6.211 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.286e-05/0.7134, allocations: 32.08 kB / 0.705 GB, free: 6.211 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.7134, allocations: 17.22 kB / 0.7051 GB, free: 6.211 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.7154, allocations: 0.9969 MB / 0.706 GB, free: 6.199 MB / 494.1 MB 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.007358/0.7228, allocations: 3.866 MB / 0.7098 GB, free: 4.223 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008511/0.7313, allocations: 2.311 MB / 0.7121 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001772/0.7331, allocations: 0.6267 MB / 0.7127 GB, free: 3.203 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.7332, allocations: 15.8 kB / 0.7127 GB, free: 3.203 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001804/0.735, allocations: 0.8306 MB / 0.7135 GB, free: 2.883 MB / 494.1 MB Notification: Performance of pre-optimization done (n=97): time 3.416e-06/0.735, allocations: 0 / 0.7135 GB, free: 2.883 MB / 494.1 MB Notification: Performance of matching and sorting (n=97): time 0.02973/0.7647, allocations: 7.203 MB / 0.7205 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.384e-05/0.7648, allocations: 119.5 kB / 0.7207 GB, free: 440 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002443/0.7672, allocations: 1.124 MB / 0.7218 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004161/0.7676, allocations: 50.08 kB / 0.7218 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005577/0.7682, allocations: 0.496 MB / 0.7223 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005924/0.7688, allocations: 382 kB / 0.7227 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006295/0.7694, allocations: 291.8 kB / 0.7229 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.7696, allocations: 306.4 kB / 0.7232 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001822/0.7714, allocations: 0.7743 MB / 0.724 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/0.7734, allocations: 0.9555 MB / 0.7249 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02595/0.7993, allocations: 5.804 MB / 0.7306 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.048e-05/0.7993, allocations: 1.219 kB / 0.7306 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01619/0.8155, allocations: 4.429 MB / 0.7349 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.8156, allocations: 63.97 kB / 0.735 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.8156, allocations: 2.375 kB / 0.735 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006154/0.8218, allocations: 1.634 MB / 0.7366 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/0.8235, allocations: 290.8 kB / 0.7368 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02307/0.8465, allocations: 8.624 MB / 0.7453 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002694/0.8492, allocations: 203.2 kB / 0.7455 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004543/0.8497, allocations: 59.97 kB / 0.7455 GB, free: 15.73 MB / 0.5137 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.e1q:VARIABLE(start = order5.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: 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 (167): * Single equations (assignments): 164 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001377/0.8511, allocations: 301 kB / 0.7458 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006618/0.8517, allocations: 136.2 kB / 0.7459 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01381/0.8655, allocations: 3.874 MB / 0.7497 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.576e-05/0.8656, allocations: 8 kB / 0.7497 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-05/0.8656, allocations: 8.875 kB / 0.7497 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.614e-05/0.8656, allocations: 3.984 kB / 0.7497 GB, free: 11.42 MB / 0.5137 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.01738/0.883, allocations: 5.497 MB / 0.7551 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.883, allocations: 4.031 kB / 0.7551 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007146/0.8837, allocations: 101.6 kB / 0.7552 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005715/0.8895, allocations: 1.59 MB / 0.7568 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002276/0.8897, allocations: 20.86 kB / 0.7568 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02309/0.9128, allocations: 9.66 MB / 0.7662 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.9128, allocations: 0 / 0.7662 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01562/0.9284, allocations: 4.767 MB / 0.7709 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007858/0.9292, allocations: 232 kB / 0.7711 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004986/0.9297, allocations: 20 kB / 0.7711 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/0.9312, allocations: 111.9 kB / 0.7712 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007248/0.9319, allocations: 196.7 kB / 0.7714 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/0.9321, allocations: 20 kB / 0.7714 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001627/0.9337, allocations: 0.7708 MB / 0.7722 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9337, allocations: 0 / 0.7722 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002172/0.9359, allocations: 487.6 kB / 0.7726 GB, free: 3.637 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01561/0.9515, allocations: 5.34 MB / 0.7779 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007611/0.9591, allocations: 2.454 MB / 0.7802 GB, free: 11.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.9591, allocations: 4.25 kB / 0.7803 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004591/0.9637, allocations: 1.53 MB / 0.7817 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.9654, allocations: 117.7 kB / 0.7819 GB, free: 10.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04629/1.012, allocations: 16.49 MB / 0.798 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/1.013, allocations: 1.128 MB / 0.7991 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007851/1.014, allocations: 120.1 kB / 0.7992 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/1.015, allocations: 479.3 kB / 0.7996 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of SimCode: time 1.994e-06/1.015, allocations: 0 / 0.7996 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1063/1.121, allocations: 35.5 MB / 0.8343 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.59/16.71, allocations: 13.89 kB / 0.8343 GB, free: 4.566 MB / 0.5919 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.562214139383286] Failed to read output from testmodel.py, exit status != 0: 16.823624034877867 16.846396891 16.148494148 Calling exit ...