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.00494/0.004941, allocations: 168.2 kB / 15.13 MB, free: 6.02 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.392/1.392, allocations: 223.3 MB / 239.1 MB, free: 1.684 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.000831/0.0008311, allocations: 87.69 kB / 290.3 MB, free: 13.88 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5623/0.5623, allocations: 78.62 MB / 420 MB, free: 44.08 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005412/0.0005415, allocations: 12 kB / 500 MB, free: 2.773 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4192/0.4197, allocations: 69.35 MB / 0.556 GB, free: 38.53 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.006406/0.4262, allocations: 5.816 MB / 0.5617 GB, free: 37.66 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00444/0.4307, allocations: 1.879 MB / 0.5635 GB, free: 36.32 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.4319, allocations: 15.22 kB / 0.5635 GB, free: 36.32 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000716/0.4326, allocations: 170.3 kB / 0.5637 GB, free: 36.24 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.4344, allocations: 0.5975 MB / 0.5643 GB, free: 35.85 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.4358, allocations: 0.551 MB / 0.5648 GB, free: 35.57 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00183/0.4376, allocations: 1.301 MB / 0.5661 GB, free: 34.9 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000479/0.4381, allocations: 264.7 kB / 0.5663 GB, free: 34.79 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008702/0.439, allocations: 0.5129 MB / 0.5668 GB, free: 34.56 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007397/0.4398, allocations: 0.6397 MB / 0.5674 GB, free: 34.28 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.4399, allocations: 52.97 kB / 0.5675 GB, free: 34.28 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005435/0.4405, allocations: 176.8 kB / 0.5677 GB, free: 34.24 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.4407, allocations: 220.9 kB / 0.5679 GB, free: 34.11 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.4409, allocations: 217 kB / 0.5681 GB, free: 33.97 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009371/0.4418, allocations: 1.132 MB / 0.5692 GB, free: 33.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4418, allocations: 1.031 kB / 0.5692 GB, free: 33.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4418, allocations: 0 / 0.5692 GB, free: 33.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.4419, allocations: 0 / 0.5692 GB, free: 33.62 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.007499/0.4494, allocations: 2.372 MB / 0.5715 GB, free: 32.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.4494, allocations: 13.91 kB / 0.5715 GB, free: 32.6 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000253/0.4497, allocations: 124.8 kB / 0.5716 GB, free: 32.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005157/0.4548, allocations: 0.7784 MB / 0.5724 GB, free: 32.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.4565, allocations: 0.7798 MB / 0.5732 GB, free: 31.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002881/0.4568, allocations: 261.4 kB / 0.5734 GB, free: 31.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.457, allocations: 79.25 kB / 0.5735 GB, free: 31.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/0.4596, allocations: 1.19 MB / 0.5746 GB, free: 31.17 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.4597, allocations: 3.953 kB / 0.5746 GB, free: 31.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.4598, allocations: 29.5 kB / 0.5747 GB, free: 31.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.4598, allocations: 20.03 kB / 0.5747 GB, free: 31.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/0.4623, allocations: 1.162 MB / 0.5758 GB, free: 30.78 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.005667/0.468, allocations: 3.532 MB / 0.5793 GB, free: 28.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/0.47, allocations: 1.506 MB / 0.5808 GB, free: 27.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.4716, allocations: 0.8181 MB / 0.5816 GB, free: 27.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.934e-05/0.4717, allocations: 13.23 kB / 0.5816 GB, free: 27.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.4717, allocations: 45.47 kB / 0.5816 GB, free: 27.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=89): time 5.871e-06/0.4717, allocations: 0 / 0.5816 GB, free: 27.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=89): time 0.02867/0.5004, allocations: 8.464 MB / 0.5899 GB, free: 26.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.5005, allocations: 91.33 kB / 0.59 GB, free: 25.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.5022, allocations: 0.9346 MB / 0.5909 GB, free: 25.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000226/0.5024, allocations: 41.73 kB / 0.5909 GB, free: 25.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003034/0.5027, allocations: 481.4 kB / 0.5914 GB, free: 25.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/0.503, allocations: 320.8 kB / 0.5917 GB, free: 24.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.83e-05/0.5031, allocations: 21.5 kB / 0.5917 GB, free: 24.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.736e-05/0.5032, allocations: 350.1 kB / 0.592 GB, free: 24.56 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/0.505, allocations: 0.7662 MB / 0.5928 GB, free: 24.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.5067, allocations: 0.8969 MB / 0.5937 GB, free: 23.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/0.5083, allocations: 0.8242 MB / 0.5945 GB, free: 23.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.5084, allocations: 1.281 kB / 0.5945 GB, free: 23.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01601/0.5244, allocations: 5.123 MB / 0.5995 GB, free: 22.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.5245, allocations: 151.2 kB / 0.5996 GB, free: 22.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.5246, allocations: 2.469 kB / 0.5996 GB, free: 22.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007983/0.5326, allocations: 2.111 MB / 0.6017 GB, free: 21.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.5338, allocations: 202.7 kB / 0.6019 GB, free: 21.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02306/0.5569, allocations: 9.539 MB / 0.6112 GB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.5586, allocations: 214 kB / 0.6114 GB, free: 16.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.5588, allocations: 35.52 kB / 0.6114 GB, free: 16.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.5588, allocations: 4 kB / 0.6114 GB, free: 16.68 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01389/0.5727, allocations: 4.963 MB / 0.6163 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/0.5727, allocations: 4 kB / 0.6163 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006156/0.5789, allocations: 2.112 MB / 0.6183 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.58, allocations: 199.7 kB / 0.6185 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01913/0.5991, allocations: 9.526 MB / 0.6278 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/0.6009, allocations: 203 kB / 0.628 GB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.601, allocations: 39.98 kB / 0.6281 GB, free: 15.72 MB / 442.7 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.0006235/0.6016, allocations: 323.8 kB / 0.6284 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/0.6019, allocations: 114.6 kB / 0.6285 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01445/0.6163, allocations: 4.861 MB / 0.6332 GB, free: 10.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.6164, allocations: 8 kB / 0.6332 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.6164, allocations: 0 / 0.6332 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-05/0.6164, allocations: 11.92 kB / 0.6332 GB, free: 10.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0166/0.633, allocations: 6.454 MB / 0.6395 GB, free: 3.789 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/0.6331, allocations: 0 / 0.6395 GB, free: 3.789 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007714/0.6339, allocations: 111.9 kB / 0.6397 GB, free: 3.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006392/0.6403, allocations: 2.058 MB / 0.6417 GB, free: 1.617 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001922/0.6405, allocations: 16 kB / 0.6417 GB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01845/0.659, allocations: 8.202 MB / 0.6497 GB, free: 9.258 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.659, allocations: 0 / 0.6497 GB, free: 9.258 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0164/0.6754, allocations: 5.833 MB / 0.6554 GB, free: 3.402 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005581/0.676, allocations: 203.4 kB / 0.6556 GB, free: 3.184 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/0.6762, allocations: 20 kB / 0.6556 GB, free: 3.164 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/0.6774, allocations: 155.9 kB / 0.6557 GB, free: 3.012 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006072/0.678, allocations: 204.5 kB / 0.6559 GB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.21e-05/0.6781, allocations: 31.94 kB / 0.656 GB, free: 2.781 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001014/0.6791, allocations: 0.6315 MB / 0.6566 GB, free: 2.141 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6791, allocations: 3.938 kB / 0.6566 GB, free: 2.137 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002184/0.6813, allocations: 0.6944 MB / 0.6573 GB, free: 1.441 MB / 458.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 (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.0166/0.6979, allocations: 6.397 MB / 0.6635 GB, free: 11 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01258/0.7105, allocations: 4.601 MB / 0.668 GB, free: 6.379 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.7106, allocations: 0.5 kB / 0.668 GB, free: 6.379 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005064/0.7157, allocations: 1.747 MB / 0.6697 GB, free: 4.629 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.7168, allocations: 100.3 kB / 0.6698 GB, free: 4.527 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02742/0.7442, allocations: 11.55 MB / 0.6811 GB, free: 8.668 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007763/0.7451, allocations: 1.113 MB / 0.6822 GB, free: 7.516 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00068/0.7458, allocations: 110.8 kB / 0.6823 GB, free: 7.402 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005715/0.7463, allocations: 431.3 kB / 0.6827 GB, free: 6.98 MB / 490.7 MB Notification: Performance of SimCode: time 9.12e-07/0.7463, allocations: 0 / 0.6827 GB, free: 6.98 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07941/0.8258, allocations: 36.99 MB / 0.7188 GB, free: 2.184 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002772/0.8261, allocations: 206.8 kB / 0.719 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.214/4.04, allocations: 0 / 0.719 GB, free: 1.945 MB / 0.5105 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)