Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_dev_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.001181/0.001181, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.381/1.381, allocations: 223.3 MB / 239 MB, free: 5.598 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.001025/0.001025, allocations: 172.5 kB / 290.3 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4812/0.4812, allocations: 79.48 MB / 420.8 MB, free: 3.852 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003556, allocations: 12 kB / 0.4892 GB, free: 5.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3607, allocations: 69.5 MB / 0.5571 GB, free: 37.78 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.005469/0.3662, allocations: 5.84 MB / 0.5628 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003884/0.3701, allocations: 1.881 MB / 0.5646 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007434/0.3709, allocations: 11.41 kB / 0.5646 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006283/0.3715, allocations: 169.3 kB / 0.5648 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.373, allocations: 0.6069 MB / 0.5654 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.3742, allocations: 0.548 MB / 0.5659 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001186/0.3754, allocations: 1.301 MB / 0.5672 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004084/0.3758, allocations: 256.9 kB / 0.5674 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005574/0.3764, allocations: 0.5107 MB / 0.5679 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005955/0.377, allocations: 0.6375 MB / 0.5686 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.598e-05/0.3771, allocations: 51.34 kB / 0.5686 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003681/0.3774, allocations: 176.5 kB / 0.5688 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.3776, allocations: 219.8 kB / 0.569 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.3778, allocations: 221.7 kB / 0.5692 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008299/0.3786, allocations: 1.134 MB / 0.5703 GB, free: 35.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3786, allocations: 1.031 kB / 0.5703 GB, free: 35.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3786, allocations: 0 / 0.5703 GB, free: 35.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.3787, allocations: 0 / 0.5703 GB, free: 35.5 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.006322/0.385, allocations: 2.374 MB / 0.5726 GB, free: 34.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.385, allocations: 8.688 kB / 0.5726 GB, free: 34.67 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002049/0.3853, allocations: 125.6 kB / 0.5728 GB, free: 34.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004247/0.3895, allocations: 0.7862 MB / 0.5735 GB, free: 34.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.3907, allocations: 0.7719 MB / 0.5743 GB, free: 33.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002169/0.3909, allocations: 271.2 kB / 0.5745 GB, free: 33.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.3911, allocations: 75.72 kB / 0.5746 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.3931, allocations: 1.191 MB / 0.5758 GB, free: 33.28 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.3931, allocations: 7.953 kB / 0.5758 GB, free: 33.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.207e-05/0.3932, allocations: 26.28 kB / 0.5758 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.3932, allocations: 17.16 kB / 0.5758 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.3953, allocations: 1.165 MB / 0.577 GB, free: 32.89 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.004713/0.4, allocations: 3.533 MB / 0.5804 GB, free: 30.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.4019, allocations: 1.507 MB / 0.5819 GB, free: 29.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.4031, allocations: 0.821 MB / 0.5827 GB, free: 29.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.4032, allocations: 19.39 kB / 0.5827 GB, free: 29.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.4033, allocations: 38.41 kB / 0.5827 GB, free: 29.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.246e-06/0.4033, allocations: 4 kB / 0.5827 GB, free: 29.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02537/0.4287, allocations: 8.452 MB / 0.591 GB, free: 28.19 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.4288, allocations: 86.39 kB / 0.5911 GB, free: 28.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/0.4308, allocations: 0.9355 MB / 0.592 GB, free: 27.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002624/0.431, allocations: 41.05 kB / 0.592 GB, free: 27.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003872/0.4314, allocations: 484.8 kB / 0.5925 GB, free: 27.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004552/0.4319, allocations: 315.7 kB / 0.5928 GB, free: 27.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.4321, allocations: 24.41 kB / 0.5928 GB, free: 27.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.4322, allocations: 353 kB / 0.5932 GB, free: 26.69 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001785/0.434, allocations: 0.7629 MB / 0.5939 GB, free: 26.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001852/0.4358, allocations: 0.9007 MB / 0.5948 GB, free: 26.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/0.4377, allocations: 0.823 MB / 0.5956 GB, free: 25.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.427e-06/0.4377, allocations: 1.469 kB / 0.5956 GB, free: 25.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01453/0.4522, allocations: 5.121 MB / 0.6006 GB, free: 24.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001259/0.4524, allocations: 151.2 kB / 0.6007 GB, free: 24.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.4524, allocations: 3.125 kB / 0.6007 GB, free: 24.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006851/0.4593, allocations: 2.114 MB / 0.6028 GB, free: 24.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.4604, allocations: 210.5 kB / 0.603 GB, free: 24.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02281/0.4833, allocations: 9.522 MB / 0.6123 GB, free: 19.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.4851, allocations: 213.7 kB / 0.6125 GB, free: 19.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002732/0.4853, allocations: 47.8 kB / 0.6125 GB, free: 19.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/0.4854, allocations: 0 / 0.6125 GB, free: 19.34 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01252/0.4979, allocations: 4.959 MB / 0.6174 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.437e-05/0.498, allocations: 5.688 kB / 0.6174 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005381/0.5034, allocations: 2.107 MB / 0.6195 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009383/0.5043, allocations: 207.7 kB / 0.6197 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01743/0.5218, allocations: 9.519 MB / 0.6289 GB, free: 2.852 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.5234, allocations: 200.1 kB / 0.6291 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002283/0.5236, allocations: 39.98 kB / 0.6292 GB, free: 2.617 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.0007366/0.5244, allocations: 319.6 kB / 0.6295 GB, free: 2.297 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003283/0.5247, allocations: 114.6 kB / 0.6296 GB, free: 2.184 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/0.5368, allocations: 4.866 MB / 0.6343 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/0.5368, allocations: 8 kB / 0.6344 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5368, allocations: 5.266 kB / 0.6344 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.258e-05/0.5369, allocations: 15.92 kB / 0.6344 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/0.5518, allocations: 6.446 MB / 0.6407 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/0.5518, allocations: 3.844 kB / 0.6407 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006647/0.5525, allocations: 107.9 kB / 0.6408 GB, free: 6.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005673/0.5582, allocations: 2.053 MB / 0.6428 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000212/0.5584, allocations: 16 kB / 0.6428 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01706/0.5755, allocations: 8.213 MB / 0.6508 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5755, allocations: 0 / 0.6508 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01454/0.5901, allocations: 5.831 MB / 0.6565 GB, free: 6.312 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004707/0.5906, allocations: 211.5 kB / 0.6567 GB, free: 6.086 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003851/0.591, allocations: 19.94 kB / 0.6567 GB, free: 6.066 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/0.5922, allocations: 151.9 kB / 0.6569 GB, free: 5.918 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006916/0.5929, allocations: 196.6 kB / 0.6571 GB, free: 5.727 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.5931, allocations: 27.95 kB / 0.6571 GB, free: 5.699 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001088/0.5942, allocations: 0.6393 MB / 0.6577 GB, free: 5.051 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5942, allocations: 4 kB / 0.6577 GB, free: 5.047 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002671/0.5969, allocations: 0.6905 MB / 0.6584 GB, free: 4.355 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.01491/0.6118, allocations: 6.411 MB / 0.6647 GB, free: 13.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01174/0.6236, allocations: 4.601 MB / 0.6691 GB, free: 9.289 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.6236, allocations: 4 kB / 0.6691 GB, free: 9.285 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004561/0.6282, allocations: 1.73 MB / 0.6708 GB, free: 7.547 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.6295, allocations: 104.9 kB / 0.6709 GB, free: 7.445 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02585/0.6554, allocations: 11.55 MB / 0.6822 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000736/0.6562, allocations: 1.105 MB / 0.6833 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000639/0.6568, allocations: 114.6 kB / 0.6834 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006077/0.6575, allocations: 431.8 kB / 0.6838 GB, free: 9.926 MB / 494.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6575, allocations: 0 / 0.6838 GB, free: 9.926 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9678/1.625, allocations: 36.99 MB / 0.7199 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/1.626, allocations: 206 kB / 0.7201 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.728/4.354, allocations: 0 / 0.7201 GB, free: 5.055 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1) Environment - environmentSimulation: