Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08815/0.08815, allocations: 12.36 MB / 31.21 MB, free: 6.441 MB / 26.18 MB " [Timeout remaining time 180] 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.001401/0.001401, allocations: 113 kB / 37.25 MB, free: 1.121 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 207.7 MB / 250.9 MB, free: 7.258 MB / 190.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.001865/0.001865, allocations: 208.4 kB / 306.1 MB, free: 288 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3154/0.3154, allocations: 79.73 MB / 440.9 MB, free: 12.27 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 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.004426/0.004426, allocations: 155.8 kB / 0.5875 GB, free: 7.465 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3814, allocations: 71.95 MB / 0.6578 GB, free: 2.504 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.005869/0.3872, allocations: 5.12 MB / 0.6628 GB, free: 15.01 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003328/0.3906, allocations: 1.633 MB / 0.6644 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003749/0.3909, allocations: 14.25 kB / 0.6644 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000495/0.3914, allocations: 193.6 kB / 0.6646 GB, free: 13.78 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001626/0.3931, allocations: 0.7323 MB / 0.6653 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.3943, allocations: 0.5498 MB / 0.6658 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.3957, allocations: 1.251 MB / 0.667 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003281/0.396, allocations: 178 kB / 0.6672 GB, free: 12.28 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006887/0.3967, allocations: 0.5326 MB / 0.6677 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007714/0.3975, allocations: 0.5948 MB / 0.6683 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.3976, allocations: 88.19 kB / 0.6684 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004363/0.398, allocations: 220.7 kB / 0.6686 GB, free: 11.72 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002369/0.3983, allocations: 245.5 kB / 0.6688 GB, free: 11.56 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004486/0.3987, allocations: 451.5 kB / 0.6693 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.4003, allocations: 1.372 MB / 0.6706 GB, free: 10.67 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4003, allocations: 1.625 kB / 0.6706 GB, free: 10.67 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4003, allocations: 0 / 0.6706 GB, free: 10.67 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.4004, allocations: 4 kB / 0.6706 GB, free: 10.67 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.007403/0.4078, allocations: 2.314 MB / 0.6729 GB, free: 9.293 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.4078, allocations: 14.19 kB / 0.6729 GB, free: 9.289 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.4079, allocations: 112.2 kB / 0.673 GB, free: 9.191 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004956/0.4129, allocations: 0.7659 MB / 0.6737 GB, free: 8.875 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.4142, allocations: 0.6491 MB / 0.6744 GB, free: 8.336 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003315/0.4145, allocations: 307.8 kB / 0.6747 GB, free: 8.043 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.4146, allocations: 63.97 kB / 0.6747 GB, free: 8.023 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.4167, allocations: 0.9577 MB / 0.6757 GB, free: 7.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.4167, allocations: 0 / 0.6757 GB, free: 7.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.559e-05/0.4168, allocations: 29.59 kB / 0.6757 GB, free: 7.457 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.4168, allocations: 16.66 kB / 0.6757 GB, free: 7.457 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/0.4189, allocations: 0.9674 MB / 0.6767 GB, free: 6.996 MB / 462.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.00516/0.4241, allocations: 2.362 MB / 0.679 GB, free: 5.363 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.4259, allocations: 0.7678 MB / 0.6797 GB, free: 4.973 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.4272, allocations: 0.6306 MB / 0.6803 GB, free: 4.656 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.271e-05/0.4273, allocations: 10.16 kB / 0.6803 GB, free: 4.656 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.4274, allocations: 42.09 kB / 0.6804 GB, free: 4.609 MB / 462.1 MB Notification: Performance of pre-optimization done (n=82): time 2.685e-06/0.4274, allocations: 5.375 kB / 0.6804 GB, free: 4.605 MB / 462.1 MB Notification: Performance of matching and sorting (n=82): time 0.02674/0.4541, allocations: 6.659 MB / 0.6869 GB, free: 1.34 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.4542, allocations: 63.66 kB / 0.6869 GB, free: 1.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.4554, allocations: 0.8033 MB / 0.6877 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001277/0.4555, allocations: 36.95 kB / 0.6878 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003564/0.4558, allocations: 442.1 kB / 0.6882 GB, free: 376 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003453/0.4562, allocations: 306.8 kB / 0.6885 GB, free: 104 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003666/0.4566, allocations: 176.5 kB / 0.6886 GB, free: 15.99 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.4567, allocations: 351.4 kB / 0.689 GB, free: 15.65 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.4582, allocations: 0.6522 MB / 0.6896 GB, free: 15.32 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.4598, allocations: 0.7725 MB / 0.6904 GB, free: 14.88 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01768/0.4774, allocations: 4.495 MB / 0.6948 GB, free: 12.21 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.4774, allocations: 0 / 0.6948 GB, free: 12.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01357/0.491, allocations: 4.087 MB / 0.6988 GB, free: 8.105 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.491, allocations: 8 kB / 0.6988 GB, free: 8.098 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.4911, allocations: 3.984 kB / 0.6988 GB, free: 8.094 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00634/0.4974, allocations: 1.78 MB / 0.7005 GB, free: 6.309 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008703/0.4983, allocations: 167.7 kB / 0.7007 GB, free: 6.145 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02304/0.5213, allocations: 9.036 MB / 0.7095 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.5229, allocations: 151.3 kB / 0.7096 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002296/0.5231, allocations: 32 kB / 0.7097 GB, free: 12.81 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order31.delta:VARIABLE(flow=false start = order31.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0006908/0.5238, allocations: 237.5 kB / 0.7099 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003525/0.5242, allocations: 115.2 kB / 0.71 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/0.5373, allocations: 3.794 MB / 0.7137 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/0.5374, allocations: 8 kB / 0.7137 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.5374, allocations: 0 / 0.7137 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/0.5374, allocations: 7.984 kB / 0.7137 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/0.5527, allocations: 4.723 MB / 0.7183 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/0.5527, allocations: 4 kB / 0.7183 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006059/0.5533, allocations: 95.81 kB / 0.7184 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006169/0.5595, allocations: 1.738 MB / 0.7201 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001815/0.5597, allocations: 16 kB / 0.7201 GB, free: 1.988 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02/0.5797, allocations: 7.771 MB / 0.7277 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5797, allocations: 3.984 kB / 0.7277 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01508/0.5947, allocations: 4.686 MB / 0.7323 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004189/0.5952, allocations: 119.1 kB / 0.7324 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002558/0.5954, allocations: 15.94 kB / 0.7324 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009625/0.5964, allocations: 91.89 kB / 0.7325 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006152/0.597, allocations: 208.6 kB / 0.7327 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.149e-05/0.5971, allocations: 20 kB / 0.7327 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007306/0.5978, allocations: 0.5421 MB / 0.7333 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5978, allocations: 0 / 0.7333 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001144/0.5989, allocations: 407.7 kB / 0.7337 GB, free: 3.98 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * 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 {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01555/0.6145, allocations: 5.246 MB / 0.7388 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006787/0.6213, allocations: 2.22 MB / 0.7409 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6213, allocations: 0 / 0.7409 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004587/0.6259, allocations: 1.445 MB / 0.7424 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008047/0.6267, allocations: 79.28 kB / 0.7424 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03612/0.6628, allocations: 14.13 MB / 0.7562 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000496/0.6633, allocations: 442.2 kB / 0.7567 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003828/0.6637, allocations: 78.31 kB / 0.7567 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005309/0.6642, allocations: 367.3 kB / 0.7571 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of SimCode: time 2.004e-06/0.6642, allocations: 0 / 0.7571 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07168/0.7359, allocations: 33.09 MB / 0.7894 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/14.1, allocations: 11.95 kB / 0.7894 GB, free: 10.57 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 30.76699125301093] Failed to read output from testmodel.py, exit status != 0: 14.238713041879237 14.256082925 13.85231912 Calling exit ...