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.08999/0.08999, allocations: 12.36 MB / 31.21 MB, free: 6.438 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.001511/0.001511, allocations: 113 kB / 37.24 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.454/1.454, allocations: 207.7 MB / 250.9 MB, free: 7.254 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.001918/0.001918, allocations: 212.4 kB / 306.1 MB, free: 296 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.3179/0.3179, allocations: 79.72 MB / 440.9 MB, free: 12.28 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.004513/0.004513, allocations: 147.8 kB / 0.5875 GB, free: 7.465 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3579, allocations: 71.95 MB / 0.6578 GB, free: 2.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.006196/0.3641, allocations: 5.707 MB / 0.6634 GB, free: 14.62 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003723/0.3678, allocations: 1.753 MB / 0.6651 GB, free: 13.4 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005361/0.3683, allocations: 15.19 kB / 0.6651 GB, free: 13.4 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005356/0.3689, allocations: 221.5 kB / 0.6653 GB, free: 13.28 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.3707, allocations: 0.7618 MB / 0.666 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.3723, allocations: 0.6013 MB / 0.6666 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001716/0.374, allocations: 1.422 MB / 0.668 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004072/0.3744, allocations: 212.1 kB / 0.6682 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000931/0.3753, allocations: 0.6075 MB / 0.6688 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009293/0.3762, allocations: 0.6697 MB / 0.6695 GB, free: 11.04 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.3764, allocations: 102.5 kB / 0.6696 GB, free: 11.04 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005196/0.3769, allocations: 238.2 kB / 0.6698 GB, free: 11 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002947/0.3772, allocations: 278 kB / 0.6701 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005261/0.3777, allocations: 0.5074 MB / 0.6706 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.3796, allocations: 1.546 MB / 0.6721 GB, free: 9.617 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3796, allocations: 5.469 kB / 0.6721 GB, free: 9.613 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.3796, allocations: 3.938 kB / 0.6721 GB, free: 9.609 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.3797, allocations: 0 / 0.6721 GB, free: 9.609 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.008921/0.3886, allocations: 2.53 MB / 0.6745 GB, free: 8.062 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/0.3886, allocations: 9.75 kB / 0.6745 GB, free: 8.062 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002149/0.3889, allocations: 124.9 kB / 0.6747 GB, free: 7.957 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005347/0.3942, allocations: 0.7918 MB / 0.6754 GB, free: 7.625 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.3958, allocations: 0.7055 MB / 0.6761 GB, free: 7.035 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003491/0.3961, allocations: 319.1 kB / 0.6764 GB, free: 6.734 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.3963, allocations: 79.73 kB / 0.6765 GB, free: 6.707 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/0.3987, allocations: 1.083 MB / 0.6776 GB, free: 6.098 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.3987, allocations: 1.125 kB / 0.6776 GB, free: 6.098 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.899e-05/0.3988, allocations: 29.78 kB / 0.6776 GB, free: 6.074 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.3988, allocations: 19.22 kB / 0.6776 GB, free: 6.074 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/0.4013, allocations: 1.113 MB / 0.6787 GB, free: 5.551 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.005731/0.4071, allocations: 2.621 MB / 0.6813 GB, free: 3.754 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.409, allocations: 0.8777 MB / 0.6821 GB, free: 3.316 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/0.4107, allocations: 0.7084 MB / 0.6828 GB, free: 2.965 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-05/0.4108, allocations: 15.27 kB / 0.6828 GB, free: 2.957 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.4108, allocations: 39.16 kB / 0.6829 GB, free: 2.914 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 2.995e-06/0.4108, allocations: 1.094 kB / 0.6829 GB, free: 2.914 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.02588/0.4367, allocations: 6.504 MB / 0.6892 GB, free: 15.76 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.4368, allocations: 61.69 kB / 0.6893 GB, free: 15.69 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.4382, allocations: 0.9007 MB / 0.6902 GB, free: 15.18 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000241/0.4385, allocations: 40.2 kB / 0.6902 GB, free: 15.14 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004412/0.4389, allocations: 0.5052 MB / 0.6907 GB, free: 14.68 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000432/0.4394, allocations: 360.3 kB / 0.691 GB, free: 14.37 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004292/0.4398, allocations: 199.9 kB / 0.6912 GB, free: 14.25 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.44, allocations: 356 kB / 0.6916 GB, free: 13.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/0.4417, allocations: 0.7158 MB / 0.6923 GB, free: 13.55 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001869/0.4436, allocations: 0.8554 MB / 0.6931 GB, free: 13.07 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01877/0.4623, allocations: 4.824 MB / 0.6978 GB, free: 9.082 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.4623, allocations: 0 / 0.6978 GB, free: 9.082 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01436/0.4767, allocations: 4.246 MB / 0.702 GB, free: 4.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.4767, allocations: 11.94 kB / 0.702 GB, free: 4.809 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.4767, allocations: 0 / 0.702 GB, free: 4.809 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006637/0.4834, allocations: 1.811 MB / 0.7037 GB, free: 2.992 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.4845, allocations: 207.7 kB / 0.7039 GB, free: 2.789 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02275/0.5073, allocations: 9.024 MB / 0.7127 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.5089, allocations: 179.2 kB / 0.7129 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.509, allocations: 43.98 kB / 0.713 GB, free: 9.43 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.000513/0.5095, allocations: 243.3 kB / 0.7132 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.5098, allocations: 123.2 kB / 0.7133 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/0.5232, allocations: 3.983 MB / 0.7172 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.5232, allocations: 12 kB / 0.7172 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.5232, allocations: 0 / 0.7172 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.5232, allocations: 7.969 kB / 0.7172 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/0.539, allocations: 4.969 MB / 0.7221 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/0.539, allocations: 0 / 0.7221 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009371/0.5399, allocations: 135.8 kB / 0.7222 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006461/0.5464, allocations: 1.741 MB / 0.7239 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002773/0.5467, allocations: 19.94 kB / 0.7239 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01931/0.566, allocations: 7.783 MB / 0.7315 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.566, allocations: 0 / 0.7315 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01614/0.5821, allocations: 4.93 MB / 0.7363 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005018/0.5826, allocations: 138.9 kB / 0.7365 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/0.5828, allocations: 27.92 kB / 0.7365 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.5839, allocations: 111.8 kB / 0.7366 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007557/0.5847, allocations: 228.6 kB / 0.7368 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-05/0.5847, allocations: 20 kB / 0.7368 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008782/0.5856, allocations: 0.6047 MB / 0.7374 GB, free: 140 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5856, allocations: 4 kB / 0.7374 GB, free: 136 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001339/0.587, allocations: 435.7 kB / 0.7378 GB, free: 15.7 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.01614/0.6031, allocations: 5.511 MB / 0.7432 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006994/0.6101, allocations: 2.386 MB / 0.7456 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6101, allocations: 0 / 0.7456 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004823/0.6149, allocations: 1.53 MB / 0.747 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008386/0.6158, allocations: 88.36 kB / 0.7471 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03958/0.6553, allocations: 15.3 MB / 0.7621 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/0.6559, allocations: 0.5056 MB / 0.7626 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004803/0.6564, allocations: 90.77 kB / 0.7627 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006204/0.657, allocations: 447.2 kB / 0.7631 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of SimCode: time 1.353e-06/0.657, allocations: 0 / 0.7631 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07859/0.7356, allocations: 35.83 MB / 0.7981 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/14.29, allocations: 8.016 kB / 0.7981 GB, free: 1.664 MB / 0.5606 GB " [Timeout remaining time 646] (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: 29.172334200236946] Failed to read output from testmodel.py, exit status != 0: 14.423288343008608 14.448347476 14.06411576 Calling exit ...