Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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.1099/0.1099, allocations: 12.36 MB / 31.19 MB, free: 4 kB / 19.63 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.001334/0.001334, allocations: 113 kB / 37.24 MB, free: 1.238 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.406/1.406, allocations: 207.6 MB / 250.8 MB, free: 7.348 MB / 190.1 MB " [Timeout remaining time 179] 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.001773/0.001773, allocations: 208.4 kB / 306.1 MB, free: 484 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.3315/0.3315, allocations: 79.73 MB / 440.9 MB, free: 12.46 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_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",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.006122/0.006122, allocations: 159.7 kB / 0.5876 GB, free: 7.582 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3577, allocations: 71.94 MB / 0.6578 GB, free: 2.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.006916/0.3647, allocations: 6.547 MB / 0.6642 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004329/0.369, allocations: 1.842 MB / 0.666 GB, free: 12.58 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007038/0.3697, allocations: 15.19 kB / 0.666 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006245/0.3703, allocations: 226 kB / 0.6662 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.3724, allocations: 0.7725 MB / 0.667 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.374, allocations: 0.6148 MB / 0.6676 GB, free: 11.6 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002058/0.3761, allocations: 1.42 MB / 0.669 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004525/0.3766, allocations: 230.1 kB / 0.6692 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000896/0.3774, allocations: 0.6072 MB / 0.6698 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009916/0.3784, allocations: 0.741 MB / 0.6705 GB, free: 10.1 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.3786, allocations: 101.2 kB / 0.6706 GB, free: 10.1 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005605/0.3792, allocations: 239.3 kB / 0.6708 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003011/0.3795, allocations: 286.2 kB / 0.6711 GB, free: 9.867 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006858/0.3802, allocations: 0.6232 MB / 0.6717 GB, free: 9.445 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.3821, allocations: 1.529 MB / 0.6732 GB, free: 8.57 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3822, allocations: 0 / 0.6732 GB, free: 8.57 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3822, allocations: 0 / 0.6732 GB, free: 8.57 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.561e-05/0.3822, allocations: 3.938 kB / 0.6732 GB, free: 8.566 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.008448/0.3906, allocations: 2.523 MB / 0.6757 GB, free: 7.027 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3907, allocations: 9.438 kB / 0.6757 GB, free: 7.027 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001737/0.3908, allocations: 128.5 kB / 0.6758 GB, free: 6.918 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005018/0.3959, allocations: 0.7912 MB / 0.6766 GB, free: 6.586 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.3974, allocations: 0.7212 MB / 0.6773 GB, free: 5.98 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003439/0.3977, allocations: 307.2 kB / 0.6776 GB, free: 5.691 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.3979, allocations: 83.48 kB / 0.6777 GB, free: 5.66 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.4003, allocations: 1.081 MB / 0.6787 GB, free: 5.055 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.4003, allocations: 0 / 0.6787 GB, free: 5.055 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.706e-05/0.4004, allocations: 30.56 kB / 0.6787 GB, free: 5.031 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.4004, allocations: 18.16 kB / 0.6788 GB, free: 5.031 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002617/0.403, allocations: 1.128 MB / 0.6799 GB, free: 4.5 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.006606/0.4096, allocations: 3.399 MB / 0.6832 GB, free: 1.836 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/0.4117, allocations: 0.886 MB / 0.684 GB, free: 1.391 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/0.4133, allocations: 0.7086 MB / 0.6847 GB, free: 1.039 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/0.4134, allocations: 15.45 kB / 0.6847 GB, free: 1.031 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/0.4135, allocations: 47.28 kB / 0.6848 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 2.826e-06/0.4135, allocations: 0 / 0.6848 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.0259/0.4394, allocations: 6.5 MB / 0.6911 GB, free: 13.83 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/0.4395, allocations: 70.25 kB / 0.6912 GB, free: 13.76 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.4412, allocations: 0.8997 MB / 0.6921 GB, free: 13.25 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002432/0.4414, allocations: 40.61 kB / 0.6921 GB, free: 13.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005577/0.442, allocations: 0.4936 MB / 0.6926 GB, free: 12.76 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005947/0.4426, allocations: 359.6 kB / 0.693 GB, free: 12.45 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006154/0.4432, allocations: 204.1 kB / 0.6931 GB, free: 12.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.4434, allocations: 351.2 kB / 0.6935 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/0.4452, allocations: 0.7233 MB / 0.6942 GB, free: 11.62 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001936/0.4471, allocations: 0.8508 MB / 0.695 GB, free: 11.14 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01999/0.4671, allocations: 4.829 MB / 0.6997 GB, free: 7.223 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.4671, allocations: 0 / 0.6997 GB, free: 7.223 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.015/0.4821, allocations: 4.246 MB / 0.7039 GB, free: 2.961 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.4822, allocations: 11.94 kB / 0.7039 GB, free: 2.949 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.4822, allocations: 3.984 kB / 0.7039 GB, free: 2.945 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006665/0.4889, allocations: 1.807 MB / 0.7057 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.49, allocations: 207.7 kB / 0.7059 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02393/0.5139, allocations: 9.243 MB / 0.7149 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.5157, allocations: 167.2 kB / 0.715 GB, free: 7.402 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001983/0.5159, allocations: 43.98 kB / 0.7151 GB, free: 7.359 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.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 (111): * Single equations (assignments): 110 * 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.0006617/0.5165, allocations: 250.8 kB / 0.7153 GB, free: 7.105 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003546/0.5169, allocations: 123.2 kB / 0.7154 GB, free: 6.984 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/0.531, allocations: 3.983 MB / 0.7193 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.5311, allocations: 12 kB / 0.7193 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.5311, allocations: 0 / 0.7193 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.858e-05/0.5311, allocations: 3.984 kB / 0.7193 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01673/0.5478, allocations: 5.551 MB / 0.7248 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-06/0.5478, allocations: 0 / 0.7248 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008291/0.5486, allocations: 127.9 kB / 0.7249 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00622/0.5549, allocations: 1.749 MB / 0.7266 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001622/0.555, allocations: 27.92 kB / 0.7266 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02029/0.5753, allocations: 7.969 MB / 0.7344 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5753, allocations: 3.984 kB / 0.7344 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01638/0.5917, allocations: 4.933 MB / 0.7392 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005024/0.5922, allocations: 135 kB / 0.7394 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003654/0.5926, allocations: 16 kB / 0.7394 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.5939, allocations: 115.8 kB / 0.7395 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007677/0.5946, allocations: 224.7 kB / 0.7397 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.5947, allocations: 23.98 kB / 0.7397 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009987/0.5957, allocations: 0.6008 MB / 0.7403 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5957, allocations: 3.938 kB / 0.7403 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001584/0.5973, allocations: 447.6 kB / 0.7407 GB, free: 12.77 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.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 (64): * Single equations (assignments): 63 * 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.01696/0.6143, allocations: 5.508 MB / 0.7461 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007768/0.6221, allocations: 2.386 MB / 0.7484 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.6221, allocations: 4.125 kB / 0.7485 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005229/0.6273, allocations: 1.522 MB / 0.7499 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.6284, allocations: 84.41 kB / 0.75 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04342/0.6718, allocations: 15.31 MB / 0.765 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009517/0.6727, allocations: 1.099 MB / 0.766 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004719/0.6732, allocations: 86.78 kB / 0.7661 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007384/0.6739, allocations: 443.3 kB / 0.7665 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of SimCode: time 1.493e-06/0.6739, allocations: 0 / 0.7665 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08475/0.7587, allocations: 34.97 MB / 0.8007 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.61/19.37, allocations: 12.02 kB / 0.8007 GB, free: 15.07 MB / 0.5762 GB " [Timeout remaining time 640] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 33.96783771016635] Failed to read output from testmodel.py, exit status != 0: 19.505707727978006 19.522825489 19.136925759 Calling exit ...