Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008601/0.0008601, allocations: 177.4 kB / 15.45 MB, free: 6.23 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 223.2 MB / 239.4 MB, free: 1.633 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007967/0.000797, allocations: 87.48 kB / 290.6 MB, free: 13.81 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5045/0.5045, allocations: 78.61 MB / 420.4 MB, free: 44.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003834, allocations: 8 kB / 0.4889 GB, free: 2.445 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4132, allocations: 69.35 MB / 0.5566 GB, free: 38.99 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.005824/0.4191, allocations: 6.197 MB / 0.5626 GB, free: 36.32 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004469/0.4236, allocations: 1.963 MB / 0.5646 GB, free: 35.52 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008088/0.4244, allocations: 11.28 kB / 0.5646 GB, free: 35.52 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007141/0.4251, allocations: 181.8 kB / 0.5647 GB, free: 35.46 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001866/0.427, allocations: 0.6376 MB / 0.5654 GB, free: 35.16 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.4287, allocations: 0.6131 MB / 0.566 GB, free: 35.05 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001941/0.4306, allocations: 1.387 MB / 0.5673 GB, free: 34.44 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004508/0.4311, allocations: 285.2 kB / 0.5676 GB, free: 34.3 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007342/0.4318, allocations: 0.5308 MB / 0.5681 GB, free: 34.05 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006577/0.4325, allocations: 0.6567 MB / 0.5688 GB, free: 33.75 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.4326, allocations: 51.62 kB / 0.5688 GB, free: 33.75 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004894/0.4331, allocations: 178.5 kB / 0.569 GB, free: 33.71 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.4333, allocations: 232.5 kB / 0.5692 GB, free: 33.58 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003639/0.4337, allocations: 0.5759 MB / 0.5698 GB, free: 33.19 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.4348, allocations: 1.438 MB / 0.5712 GB, free: 32.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4348, allocations: 0 / 0.5712 GB, free: 32.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4348, allocations: 0 / 0.5712 GB, free: 32.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.4348, allocations: 6.781 kB / 0.5712 GB, free: 32.64 MB / 426.7 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.006755/0.4416, allocations: 2.363 MB / 0.5735 GB, free: 31.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.4416, allocations: 8.781 kB / 0.5735 GB, free: 31.61 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002185/0.4418, allocations: 121.7 kB / 0.5736 GB, free: 31.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004605/0.4465, allocations: 0.7879 MB / 0.5744 GB, free: 31.37 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.4477, allocations: 0.811 MB / 0.5752 GB, free: 30.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002545/0.448, allocations: 272.7 kB / 0.5754 GB, free: 30.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.4482, allocations: 79.97 kB / 0.5755 GB, free: 30.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/0.4502, allocations: 1.201 MB / 0.5767 GB, free: 30.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.4502, allocations: 0 / 0.5767 GB, free: 30.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.283e-05/0.4503, allocations: 29.75 kB / 0.5767 GB, free: 30.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.4503, allocations: 16.94 kB / 0.5767 GB, free: 30.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002161/0.4525, allocations: 1.167 MB / 0.5779 GB, free: 29.75 MB / 426.7 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.005083/0.4576, allocations: 3.526 MB / 0.5813 GB, free: 27.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/0.4595, allocations: 1.52 MB / 0.5828 GB, free: 26.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.4609, allocations: 0.8192 MB / 0.5836 GB, free: 26.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.461, allocations: 9.625 kB / 0.5836 GB, free: 26.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.461, allocations: 46.5 kB / 0.5836 GB, free: 26.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=89): time 3.497e-06/0.461, allocations: 0 / 0.5836 GB, free: 26.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=89): time 0.02637/0.4874, allocations: 8.5 MB / 0.5919 GB, free: 25.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.4875, allocations: 87.3 kB / 0.592 GB, free: 24.92 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/0.4894, allocations: 0.9474 MB / 0.5929 GB, free: 24.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002487/0.4897, allocations: 41.83 kB / 0.593 GB, free: 24.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004356/0.4901, allocations: 476.9 kB / 0.5934 GB, free: 24.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004403/0.4906, allocations: 322.7 kB / 0.5938 GB, free: 23.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002781/0.4909, allocations: 101.6 kB / 0.5938 GB, free: 23.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.491, allocations: 352.3 kB / 0.5942 GB, free: 23.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/0.4927, allocations: 0.7676 MB / 0.5949 GB, free: 23.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/0.4945, allocations: 0.903 MB / 0.5958 GB, free: 22.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01868/0.5132, allocations: 5.208 MB / 0.6009 GB, free: 21.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.5132, allocations: 4.938 kB / 0.6009 GB, free: 21.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01724/0.5305, allocations: 5.162 MB / 0.6059 GB, free: 20.33 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.5307, allocations: 160.7 kB / 0.6061 GB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/0.5307, allocations: 2.812 kB / 0.6061 GB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00736/0.5381, allocations: 2.095 MB / 0.6081 GB, free: 19.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.5392, allocations: 199.9 kB / 0.6083 GB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02037/0.5596, allocations: 9.582 MB / 0.6177 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.5613, allocations: 219 kB / 0.6179 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002366/0.5616, allocations: 36 kB / 0.6179 GB, free: 10.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.5616, allocations: 7.984 kB / 0.6179 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01279/0.5744, allocations: 5.007 MB / 0.6228 GB, free: 5.801 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.5745, allocations: 4 kB / 0.6228 GB, free: 5.797 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005815/0.5803, allocations: 2.104 MB / 0.6249 GB, free: 3.688 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009251/0.5813, allocations: 187.7 kB / 0.6251 GB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02038/0.6017, allocations: 9.556 MB / 0.6344 GB, free: 9.805 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.6034, allocations: 199.1 kB / 0.6346 GB, free: 9.609 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002374/0.6036, allocations: 35.98 kB / 0.6346 GB, free: 9.574 MB / 442.7 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 (105): * Single equations (assignments): 104 * 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.0008248/0.6045, allocations: 331.5 kB / 0.6349 GB, free: 9.238 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003752/0.6049, allocations: 118.4 kB / 0.6351 GB, free: 9.121 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01397/0.6188, allocations: 4.869 MB / 0.6398 GB, free: 4.234 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-05/0.6189, allocations: 8 kB / 0.6398 GB, free: 4.227 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6189, allocations: 0 / 0.6398 GB, free: 4.227 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.008e-05/0.619, allocations: 7.969 kB / 0.6398 GB, free: 4.219 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01633/0.6353, allocations: 6.464 MB / 0.6461 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/0.6354, allocations: 0 / 0.6461 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007068/0.6361, allocations: 111.9 kB / 0.6463 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006369/0.6425, allocations: 2.053 MB / 0.6483 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002738/0.6428, allocations: 24 kB / 0.6483 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0187/0.6615, allocations: 8.21 MB / 0.6563 GB, free: 3.078 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.6616, allocations: 0 / 0.6563 GB, free: 3.078 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01588/0.6775, allocations: 5.841 MB / 0.662 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005581/0.678, allocations: 211.3 kB / 0.6622 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004075/0.6785, allocations: 16 kB / 0.6622 GB, free: 12.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/0.6798, allocations: 159.8 kB / 0.6624 GB, free: 12.81 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009624/0.6808, allocations: 196.5 kB / 0.6626 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001865/0.681, allocations: 24 kB / 0.6626 GB, free: 12.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00116/0.6822, allocations: 0.6471 MB / 0.6632 GB, free: 11.94 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6822, allocations: 0 / 0.6632 GB, free: 11.94 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002769/0.685, allocations: 0.6944 MB / 0.6639 GB, free: 11.25 MB / 474.7 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 (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.01724/0.7022, allocations: 6.424 MB / 0.6702 GB, free: 4.789 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01243/0.7147, allocations: 4.645 MB / 0.6747 GB, free: 132 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.7147, allocations: 0.5 kB / 0.6747 GB, free: 132 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00493/0.7197, allocations: 1.739 MB / 0.6764 GB, free: 14.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.7209, allocations: 97.84 kB / 0.6765 GB, free: 14.28 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04184/0.7628, allocations: 18.25 MB / 0.6943 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008542/0.7637, allocations: 1.105 MB / 0.6954 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006617/0.7644, allocations: 114.8 kB / 0.6955 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006419/0.765, allocations: 431.2 kB / 0.6959 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of SimCode: time 1.372e-06/0.7651, allocations: 4 kB / 0.6959 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.072/0.8371, allocations: 37.33 MB / 0.7324 GB, free: 4.836 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/0.8373, allocations: 226.9 kB / 0.7326 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.388/4.225, allocations: 3.938 kB / 0.7326 GB, free: 4.574 MB / 0.5261 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)