Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.002039/0.002039, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.451/1.451, allocations: 230.6 MB / 253.4 MB, free: 14.51 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.001591/0.001591, allocations: 209.2 kB / 310 MB, free: 3.145 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5055/0.5055, allocations: 79.74 MB / 446.2 MB, free: 38.86 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_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.002408/0.002408, allocations: 85.3 kB / 0.5937 GB, free: 38.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1511, allocations: 73.3 MB / 0.6653 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.008289/0.1594, allocations: 6.758 MB / 0.6719 GB, free: 11.26 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005115/0.1645, allocations: 2.078 MB / 0.6739 GB, free: 9.293 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.1656, allocations: 12 kB / 0.6739 GB, free: 9.281 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000857/0.1665, allocations: 249.9 kB / 0.6742 GB, free: 9.035 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002517/0.169, allocations: 0.8946 MB / 0.675 GB, free: 8.141 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.1705, allocations: 0.6485 MB / 0.6757 GB, free: 7.496 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002334/0.1728, allocations: 1.709 MB / 0.6773 GB, free: 5.781 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004651/0.1733, allocations: 223 kB / 0.6776 GB, free: 5.551 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.1744, allocations: 0.7159 MB / 0.6783 GB, free: 4.832 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.1756, allocations: 0.8985 MB / 0.6791 GB, free: 3.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002293/0.1758, allocations: 132 kB / 0.6793 GB, free: 3.801 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006685/0.1765, allocations: 287.9 kB / 0.6795 GB, free: 3.52 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003566/0.1769, allocations: 346.6 kB / 0.6799 GB, free: 3.18 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007127/0.1776, allocations: 0.6991 MB / 0.6805 GB, free: 2.477 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.1798, allocations: 1.766 MB / 0.6823 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1798, allocations: 0 / 0.6823 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1798, allocations: 0 / 0.6823 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.431e-05/0.1798, allocations: 0 / 0.6823 GB, free: 0.7031 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.009743/0.1896, allocations: 2.921 MB / 0.6851 GB, free: 13.73 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1896, allocations: 8.031 kB / 0.6851 GB, free: 13.72 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.527e-05/0.1896, allocations: 18 kB / 0.6851 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001642/0.1898, allocations: 130.7 kB / 0.6853 GB, free: 13.56 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005015/0.1948, allocations: 0.803 MB / 0.6861 GB, free: 12.76 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.1966, allocations: 0.8623 MB / 0.6869 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003641/0.1969, allocations: 337.3 kB / 0.6872 GB, free: 11.47 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.1971, allocations: 87.95 kB / 0.6873 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/0.1994, allocations: 1.118 MB / 0.6884 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/0.1995, allocations: 0 / 0.6884 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.1996, allocations: 28 kB / 0.6884 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.1996, allocations: 20 kB / 0.6884 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/0.2018, allocations: 1.011 MB / 0.6894 GB, free: 9.195 MB / 478.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.007155/0.2089, allocations: 3.841 MB / 0.6932 GB, free: 5.184 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007517/0.2164, allocations: 2.044 MB / 0.6952 GB, free: 3.121 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001476/0.2179, allocations: 0.6345 MB / 0.6958 GB, free: 2.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.218, allocations: 12.98 kB / 0.6958 GB, free: 2.469 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001915/0.2199, allocations: 0.845 MB / 0.6966 GB, free: 1.605 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 2.836e-06/0.2199, allocations: 0 / 0.6966 GB, free: 1.605 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.02933/0.2493, allocations: 6.901 MB / 0.7034 GB, free: 10.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.698e-05/0.2494, allocations: 115.8 kB / 0.7035 GB, free: 10.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002305/0.2517, allocations: 1.143 MB / 0.7046 GB, free: 9.383 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002313/0.2519, allocations: 45.7 kB / 0.7046 GB, free: 9.332 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005348/0.2524, allocations: 0.5093 MB / 0.7051 GB, free: 8.816 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005673/0.253, allocations: 384.7 kB / 0.7055 GB, free: 8.438 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008324/0.2538, allocations: 299.5 kB / 0.7058 GB, free: 8.141 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.254, allocations: 301.1 kB / 0.7061 GB, free: 7.844 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001943/0.2559, allocations: 0.7965 MB / 0.7069 GB, free: 7.047 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002055/0.258, allocations: 0.9733 MB / 0.7078 GB, free: 6.035 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0274/0.2854, allocations: 6.141 MB / 0.7138 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.2854, allocations: 0 / 0.7138 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.0159/0.3013, allocations: 4.493 MB / 0.7182 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.493e-05/0.3014, allocations: 59.41 kB / 0.7183 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.3014, allocations: 4 kB / 0.7183 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006719/0.3081, allocations: 1.662 MB / 0.7199 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/0.3098, allocations: 295.6 kB / 0.7202 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02353/0.3333, allocations: 8.542 MB / 0.7285 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002279/0.3356, allocations: 207.2 kB / 0.7287 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003615/0.336, allocations: 55.98 kB / 0.7288 GB, free: 340 kB / 0.4981 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 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 order6.delta:VARIABLE(flow=false start = order6.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 (171): * Single equations (assignments): 168 * 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.00103/0.337, allocations: 305 kB / 0.729 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004868/0.3375, allocations: 135.3 kB / 0.7292 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/0.3512, allocations: 3.892 MB / 0.733 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.3512, allocations: 12 kB / 0.733 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.19e-05/0.3513, allocations: 4 kB / 0.733 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-05/0.3513, allocations: 7.922 kB / 0.733 GB, free: 11.94 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.01636/0.3676, allocations: 5.498 MB / 0.7384 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/0.3677, allocations: 3.984 kB / 0.7384 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007253/0.3684, allocations: 107.8 kB / 0.7385 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005869/0.3743, allocations: 1.595 MB / 0.74 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002406/0.3745, allocations: 31.92 kB / 0.7401 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02293/0.3974, allocations: 9.437 MB / 0.7493 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.3974, allocations: 0 / 0.7493 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01596/0.4134, allocations: 4.786 MB / 0.7539 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007113/0.4141, allocations: 162.8 kB / 0.7541 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005316/0.4146, allocations: 16 kB / 0.7541 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001599/0.4162, allocations: 115.9 kB / 0.7542 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007667/0.417, allocations: 200.6 kB / 0.7544 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001674/0.4172, allocations: 27.98 kB / 0.7544 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001734/0.4189, allocations: 0.7713 MB / 0.7552 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.4189, allocations: 0 / 0.7552 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002444/0.4213, allocations: 499.6 kB / 0.7557 GB, free: 4.32 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,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 (66): * Single equations (assignments): 63 * 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.0162/0.4375, allocations: 5.363 MB / 0.7609 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007722/0.4453, allocations: 2.483 MB / 0.7633 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.4453, allocations: 4.75 kB / 0.7633 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004844/0.4501, allocations: 1.556 MB / 0.7649 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.4516, allocations: 127.7 kB / 0.765 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04591/0.4975, allocations: 16.8 MB / 0.7814 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.4987, allocations: 1.128 MB / 0.7825 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007148/0.4994, allocations: 124.3 kB / 0.7826 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009982/0.5004, allocations: 495.3 kB / 0.7831 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of SimCode: time 1.543e-06/0.5004, allocations: 0 / 0.7831 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4057/0.9061, allocations: 36.99 MB / 0.8192 GB, free: 132 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.27/17.17, allocations: 2.719 kB / 0.8192 GB, free: 132 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.961022134055384] Failed to read output from testmodel.py, exit status != 0: 17.364368785056286 17.383299023 17.200148399 Calling exit ...