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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08628/0.08628, allocations: 12.2 MB / 27.48 MB, free: 0.9219 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007956/0.0007957, allocations: 99.52 kB / 31 MB, free: 4.531 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.292/1.292, allocations: 205.4 MB / 239.8 MB, free: 11.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 180.5 kB / 291 MB, free: 13.3 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4593/0.4593, allocations: 78.54 MB / 420.5 MB, free: 48.68 MB / 334.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.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.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009176/0.000917, allocations: 31.98 kB / 0.4902 GB, free: 2.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3302, allocations: 69.22 MB / 0.5578 GB, free: 43.33 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.005635/0.3359, allocations: 6.346 MB / 0.564 GB, free: 40.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004042/0.3399, allocations: 1.866 MB / 0.5658 GB, free: 39.76 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005967/0.3405, allocations: 12.5 kB / 0.5658 GB, free: 39.76 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000482/0.341, allocations: 175.5 kB / 0.566 GB, free: 39.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.3426, allocations: 0.628 MB / 0.5666 GB, free: 39.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.3438, allocations: 0.5684 MB / 0.5672 GB, free: 38.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001341/0.3452, allocations: 1.345 MB / 0.5685 GB, free: 38.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003928/0.3456, allocations: 288.7 kB / 0.5688 GB, free: 38.17 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005606/0.3461, allocations: 0.5112 MB / 0.5693 GB, free: 37.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006043/0.3468, allocations: 0.6758 MB / 0.5699 GB, free: 37.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.3469, allocations: 53.72 kB / 0.57 GB, free: 37.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000398/0.3473, allocations: 187.9 kB / 0.5701 GB, free: 37.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.3475, allocations: 218 kB / 0.5703 GB, free: 37.44 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003929/0.3479, allocations: 0.5898 MB / 0.5709 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009755/0.3488, allocations: 1.431 MB / 0.5723 GB, free: 36.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3489, allocations: 0 / 0.5723 GB, free: 36.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3489, allocations: 3.938 kB / 0.5723 GB, free: 36.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.3489, allocations: 0 / 0.5723 GB, free: 36.47 MB / 430.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.006626/0.3555, allocations: 2.392 MB / 0.5747 GB, free: 35.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3556, allocations: 15.3 kB / 0.5747 GB, free: 35.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001414/0.3557, allocations: 126.4 kB / 0.5748 GB, free: 35.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004504/0.3602, allocations: 0.7902 MB / 0.5756 GB, free: 35.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008184/0.361, allocations: 0.7632 MB / 0.5763 GB, free: 34.63 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/0.3613, allocations: 274.6 kB / 0.5766 GB, free: 34.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.3615, allocations: 75.44 kB / 0.5766 GB, free: 34.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.3636, allocations: 1.17 MB / 0.5778 GB, free: 33.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.3636, allocations: 0 / 0.5778 GB, free: 33.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.36e-05/0.3637, allocations: 32.28 kB / 0.5778 GB, free: 33.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.3637, allocations: 23.62 kB / 0.5778 GB, free: 33.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002341/0.3661, allocations: 1.237 MB / 0.5791 GB, free: 33.6 MB / 430.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.004617/0.3707, allocations: 3.533 MB / 0.5825 GB, free: 31.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/0.3726, allocations: 1.512 MB / 0.584 GB, free: 30.67 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.3741, allocations: 0.8802 MB / 0.5848 GB, free: 30.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-05/0.3742, allocations: 13.61 kB / 0.5849 GB, free: 30.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.3742, allocations: 46.56 kB / 0.5849 GB, free: 30.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.325e-06/0.3743, allocations: 0 / 0.5849 GB, free: 30.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02712/0.4014, allocations: 8.214 MB / 0.5929 GB, free: 28.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.4015, allocations: 63.09 kB / 0.593 GB, free: 28.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.4027, allocations: 0.8933 MB / 0.5939 GB, free: 28.42 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001688/0.4029, allocations: 45.42 kB / 0.5939 GB, free: 28.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.4032, allocations: 496.1 kB / 0.5944 GB, free: 27.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002982/0.4035, allocations: 346.8 kB / 0.5947 GB, free: 27.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.4036, allocations: 104.9 kB / 0.5948 GB, free: 27.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.733e-05/0.4037, allocations: 356.6 kB / 0.5951 GB, free: 27.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001725/0.4055, allocations: 0.8101 MB / 0.5959 GB, free: 27.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/0.4073, allocations: 0.9464 MB / 0.5969 GB, free: 26.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02011/0.4274, allocations: 5.385 MB / 0.6021 GB, free: 25.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.238e-06/0.4275, allocations: 1.656 kB / 0.6021 GB, free: 25.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01582/0.4433, allocations: 5.222 MB / 0.6072 GB, free: 23.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.4434, allocations: 9.438 kB / 0.6072 GB, free: 23.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.4434, allocations: 2.75 kB / 0.6072 GB, free: 23.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006837/0.4503, allocations: 2.125 MB / 0.6093 GB, free: 23.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.4514, allocations: 215.7 kB / 0.6095 GB, free: 22.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01969/0.4711, allocations: 9.578 MB / 0.6189 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.473, allocations: 223 kB / 0.6191 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.733e-05/0.473, allocations: 39.98 kB / 0.6191 GB, free: 12.86 MB / 430.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.000482/0.4735, allocations: 257.3 kB / 0.6194 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.4737, allocations: 118.5 kB / 0.6195 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/0.4869, allocations: 4.952 MB / 0.6243 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.487, allocations: 8 kB / 0.6243 GB, free: 7.504 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.487, allocations: 3.938 kB / 0.6243 GB, free: 7.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/0.487, allocations: 11.98 kB / 0.6243 GB, free: 7.488 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/0.5017, allocations: 6.565 MB / 0.6307 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.5018, allocations: 0 / 0.6307 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007167/0.5025, allocations: 151.8 kB / 0.6309 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006309/0.5088, allocations: 2.058 MB / 0.6329 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000217/0.5091, allocations: 16 kB / 0.6329 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01895/0.528, allocations: 8.221 MB / 0.6409 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5281, allocations: 0 / 0.6409 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01697/0.5451, allocations: 5.997 MB / 0.6468 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004881/0.5456, allocations: 207.8 kB / 0.647 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003796/0.546, allocations: 20 kB / 0.647 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/0.5474, allocations: 159.9 kB / 0.6472 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008282/0.5482, allocations: 208.6 kB / 0.6474 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/0.5484, allocations: 24 kB / 0.6474 GB, free: 15.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008968/0.5493, allocations: 0.6047 MB / 0.648 GB, free: 14.94 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5493, allocations: 4 kB / 0.648 GB, free: 14.93 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001723/0.5511, allocations: 439.4 kB / 0.6484 GB, free: 14.5 MB / 462.1 MB 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.01786/0.5689, allocations: 6.58 MB / 0.6548 GB, free: 7.895 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008078/0.5771, allocations: 2.792 MB / 0.6576 GB, free: 5.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.5771, allocations: 0 / 0.6576 GB, free: 5.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00548/0.5826, allocations: 1.795 MB / 0.6593 GB, free: 3.285 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.5839, allocations: 92.86 kB / 0.6594 GB, free: 3.195 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04418/0.6281, allocations: 18.37 MB / 0.6773 GB, free: 444 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008045/0.629, allocations: 1.099 MB / 0.6784 GB, free: 15.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005588/0.6296, allocations: 86.77 kB / 0.6785 GB, free: 15.21 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006753/0.6303, allocations: 443.2 kB / 0.6789 GB, free: 14.78 MB / 494.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6303, allocations: 0 / 0.6789 GB, free: 14.78 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05339/0.6837, allocations: 30.13 MB / 0.7083 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/0.6839, allocations: 235.5 kB / 0.7086 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/3.07, allocations: 0 / 0.7086 GB, free: 0.5312 MB / 0.4981 GB (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 --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)