Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008925/0.0008925, allocations: 91.12 kB / 15.06 MB, free: 1.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.2 MB / 239 MB, free: 5.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001434, allocations: 180.6 kB / 290.3 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4788/0.4788, allocations: 78.55 MB / 419.9 MB, free: 4.289 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003752, allocations: 12 kB / 499.9 MB, free: 6.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1405, allocations: 69.37 MB / 0.5559 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.286/0.4266, allocations: 5.816 MB / 0.5616 GB, free: 37.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003853/0.4305, allocations: 1.873 MB / 0.5634 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006991/0.4312, allocations: 11.47 kB / 0.5634 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005602/0.4318, allocations: 167.5 kB / 0.5636 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.4333, allocations: 0.5923 MB / 0.5642 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.4346, allocations: 0.5443 MB / 0.5647 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.4359, allocations: 1.315 MB / 0.566 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000393/0.4363, allocations: 252.1 kB / 0.5662 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007002/0.437, allocations: 0.5148 MB / 0.5667 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006132/0.4376, allocations: 0.6386 MB / 0.5673 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.4377, allocations: 52.06 kB / 0.5674 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004164/0.4382, allocations: 176.2 kB / 0.5676 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.4384, allocations: 220.4 kB / 0.5678 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.4385, allocations: 219.6 kB / 0.568 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009488/0.4395, allocations: 1.123 MB / 0.5691 GB, free: 35.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4395, allocations: 2.875 kB / 0.5691 GB, free: 35.87 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4395, allocations: 0 / 0.5691 GB, free: 35.87 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.4395, allocations: 0 / 0.5691 GB, free: 35.87 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.006643/0.4462, allocations: 2.387 MB / 0.5714 GB, free: 35.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.4462, allocations: 9.688 kB / 0.5714 GB, free: 35.02 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002416/0.4465, allocations: 122.4 kB / 0.5715 GB, free: 34.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004507/0.451, allocations: 0.7864 MB / 0.5723 GB, free: 34.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.4523, allocations: 0.7707 MB / 0.5731 GB, free: 34.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002257/0.4525, allocations: 267.9 kB / 0.5733 GB, free: 34.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.4527, allocations: 75.91 kB / 0.5734 GB, free: 34.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/0.4548, allocations: 1.197 MB / 0.5746 GB, free: 34.26 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.4548, allocations: 0 / 0.5746 GB, free: 34.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-05/0.4549, allocations: 31.23 kB / 0.5746 GB, free: 34.26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.4549, allocations: 20.22 kB / 0.5746 GB, free: 34.26 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/0.4571, allocations: 1.167 MB / 0.5757 GB, free: 34.02 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.004993/0.4621, allocations: 3.521 MB / 0.5792 GB, free: 32.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.464, allocations: 1.506 MB / 0.5807 GB, free: 31.11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.4654, allocations: 0.8195 MB / 0.5815 GB, free: 30.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.4655, allocations: 17.42 kB / 0.5815 GB, free: 30.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.4655, allocations: 39.98 kB / 0.5815 GB, free: 30.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.314e-06/0.4655, allocations: 6.469 kB / 0.5815 GB, free: 30.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02641/0.492, allocations: 8.454 MB / 0.5898 GB, free: 29.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.492, allocations: 95.72 kB / 0.5899 GB, free: 29.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.4937, allocations: 0.9332 MB / 0.5908 GB, free: 28.83 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003128/0.4941, allocations: 41.64 kB / 0.5908 GB, free: 28.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003957/0.4945, allocations: 487.3 kB / 0.5913 GB, free: 28.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003876/0.4949, allocations: 316.9 kB / 0.5916 GB, free: 28.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.228e-05/0.4949, allocations: 21.25 kB / 0.5916 GB, free: 28.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.4951, allocations: 354.8 kB / 0.5919 GB, free: 27.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001656/0.4967, allocations: 0.765 MB / 0.5927 GB, free: 27.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/0.4984, allocations: 0.8932 MB / 0.5936 GB, free: 27.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.5001, allocations: 0.8277 MB / 0.5944 GB, free: 26.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.5001, allocations: 0 / 0.5944 GB, free: 26.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01541/0.5155, allocations: 5.111 MB / 0.5994 GB, free: 25.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.5157, allocations: 150.1 kB / 0.5995 GB, free: 25.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.5157, allocations: 3.188 kB / 0.5995 GB, free: 25.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006819/0.5225, allocations: 2.119 MB / 0.6016 GB, free: 25.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.5237, allocations: 203.6 kB / 0.6018 GB, free: 25.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02177/0.5455, allocations: 9.524 MB / 0.6111 GB, free: 20.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/0.5472, allocations: 214.8 kB / 0.6113 GB, free: 20.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000226/0.5475, allocations: 39.52 kB / 0.6113 GB, free: 20.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.5475, allocations: 4 kB / 0.6113 GB, free: 20.61 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01238/0.5599, allocations: 4.955 MB / 0.6162 GB, free: 16.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.5599, allocations: 4 kB / 0.6162 GB, free: 16.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005497/0.5654, allocations: 2.116 MB / 0.6182 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009168/0.5664, allocations: 199.8 kB / 0.6184 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01793/0.5843, allocations: 9.53 MB / 0.6277 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.586, allocations: 203.8 kB / 0.6279 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002335/0.5863, allocations: 35.98 kB / 0.6279 GB, free: 3.898 MB / 430.1 MB Warning: Assuming fixed start value for the following 3 variables: TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007649/0.5871, allocations: 333.6 kB / 0.6283 GB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003556/0.5874, allocations: 114.5 kB / 0.6284 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/0.5996, allocations: 4.862 MB / 0.6331 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.872e-05/0.5996, allocations: 12 kB / 0.6331 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.5997, allocations: 0 / 0.6331 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.576e-05/0.5997, allocations: 11.92 kB / 0.6331 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/0.6152, allocations: 6.439 MB / 0.6394 GB, free: 7.977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.6152, allocations: 4.812 kB / 0.6394 GB, free: 7.973 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006514/0.6159, allocations: 111.9 kB / 0.6395 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005951/0.6219, allocations: 2.053 MB / 0.6415 GB, free: 5.809 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002567/0.6222, allocations: 16 kB / 0.6416 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01831/0.6405, allocations: 8.213 MB / 0.6496 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6405, allocations: 0 / 0.6496 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01542/0.656, allocations: 5.826 MB / 0.6553 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00056/0.6566, allocations: 212.4 kB / 0.6555 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004451/0.657, allocations: 20 kB / 0.6555 GB, free: 7.352 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/0.6584, allocations: 147.9 kB / 0.6556 GB, free: 7.207 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007329/0.6591, allocations: 204.5 kB / 0.6558 GB, free: 7.008 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.6593, allocations: 27.98 kB / 0.6559 GB, free: 6.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001215/0.6605, allocations: 0.6403 MB / 0.6565 GB, free: 6.332 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6605, allocations: 0 / 0.6565 GB, free: 6.332 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002859/0.6634, allocations: 0.6944 MB / 0.6572 GB, free: 5.637 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,TGTypeII1.transferFunction1.x_scaled[1]) * 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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01546/0.6788, allocations: 6.403 MB / 0.6634 GB, free: 15.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.012/0.6909, allocations: 4.61 MB / 0.6679 GB, free: 10.57 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.6909, allocations: 4.5 kB / 0.6679 GB, free: 10.57 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004502/0.6954, allocations: 1.738 MB / 0.6696 GB, free: 8.824 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.6966, allocations: 96.3 kB / 0.6697 GB, free: 8.727 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02585/0.7225, allocations: 11.55 MB / 0.681 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008373/0.7234, allocations: 1.109 MB / 0.6821 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006463/0.724, allocations: 115.3 kB / 0.6822 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006189/0.7247, allocations: 431.3 kB / 0.6826 GB, free: 11.21 MB / 494.1 MB Notification: Performance of SimCode: time 6.11e-07/0.7247, allocations: 4 kB / 0.6826 GB, free: 11.21 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06291/0.7876, allocations: 36.98 MB / 0.7187 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/0.7878, allocations: 202.9 kB / 0.7189 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.68/3.468, allocations: 0 / 0.7189 GB, free: 6.324 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1) Environment - environmentSimulation: