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.001087/0.001087, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.328/1.328, allocations: 223.2 MB / 238.9 MB, free: 5.477 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.001147/0.001147, allocations: 185 kB / 290.2 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4654/0.4654, allocations: 79.45 MB / 420.7 MB, free: 3.941 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003633, allocations: 8 kB / 0.4891 GB, free: 5.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4004, allocations: 69.51 MB / 0.557 GB, free: 37.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.004869/0.4053, allocations: 5.553 MB / 0.5624 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003308/0.4086, allocations: 1.919 MB / 0.5643 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005572/0.4092, allocations: 11.31 kB / 0.5643 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005374/0.4097, allocations: 167.2 kB / 0.5644 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.4112, allocations: 0.6622 MB / 0.5651 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.4123, allocations: 0.5404 MB / 0.5656 GB, free: 36.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001187/0.4135, allocations: 0.9263 MB / 0.5665 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003584/0.4139, allocations: 256.8 kB / 0.5667 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005326/0.4144, allocations: 0.5141 MB / 0.5672 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005512/0.415, allocations: 0.6202 MB / 0.5679 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.4151, allocations: 51.56 kB / 0.5679 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/0.4155, allocations: 164.6 kB / 0.5681 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002259/0.4157, allocations: 224.1 kB / 0.5683 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.416, allocations: 216.1 kB / 0.5685 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.4173, allocations: 1.085 MB / 0.5695 GB, free: 35.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.4173, allocations: 0.5 kB / 0.5695 GB, free: 35.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4173, allocations: 2.031 kB / 0.5695 GB, free: 35.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.25e-05/0.4174, allocations: 0 / 0.5695 GB, free: 35.95 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.007596/0.425, allocations: 2.373 MB / 0.5719 GB, free: 35 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.425, allocations: 8.75 kB / 0.5719 GB, free: 35 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/0.4252, allocations: 125.8 kB / 0.572 GB, free: 34.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004726/0.4299, allocations: 0.7805 MB / 0.5728 GB, free: 34.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.4313, allocations: 0.7747 MB / 0.5735 GB, free: 34.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002382/0.4316, allocations: 267.1 kB / 0.5738 GB, free: 34.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.4317, allocations: 74.56 kB / 0.5738 GB, free: 34.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.4338, allocations: 1.188 MB / 0.575 GB, free: 33.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.4339, allocations: 8.703 kB / 0.575 GB, free: 33.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.48e-05/0.434, allocations: 30 kB / 0.575 GB, free: 33.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.434, allocations: 18.38 kB / 0.575 GB, free: 33.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002235/0.4362, allocations: 1.163 MB / 0.5762 GB, free: 33.2 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.005623/0.4419, allocations: 3.628 MB / 0.5797 GB, free: 31.1 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/0.4439, allocations: 1.508 MB / 0.5812 GB, free: 30.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.423e-05/0.444, allocations: 14.31 kB / 0.5812 GB, free: 30.15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.4441, allocations: 48.09 kB / 0.5813 GB, free: 30.1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.025e-06/0.4441, allocations: 0 / 0.5813 GB, free: 30.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.03001/0.4741, allocations: 8.451 MB / 0.5895 GB, free: 28.67 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.4742, allocations: 87.67 kB / 0.5896 GB, free: 28.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/0.4758, allocations: 0.9369 MB / 0.5905 GB, free: 28.19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003117/0.4762, allocations: 41.61 kB / 0.5905 GB, free: 28.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003193/0.4765, allocations: 486.4 kB / 0.591 GB, free: 27.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003603/0.4769, allocations: 317.4 kB / 0.5913 GB, free: 27.51 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.28e-05/0.477, allocations: 21.34 kB / 0.5913 GB, free: 27.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.4771, allocations: 353.6 kB / 0.5917 GB, free: 27.17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/0.4787, allocations: 0.7684 MB / 0.5924 GB, free: 26.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/0.4805, allocations: 0.8889 MB / 0.5933 GB, free: 26.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/0.4823, allocations: 0.8224 MB / 0.5941 GB, free: 26.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.4823, allocations: 0 / 0.5941 GB, free: 26.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01639/0.4987, allocations: 5.119 MB / 0.5991 GB, free: 25.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002136/0.499, allocations: 0.7926 MB / 0.5999 GB, free: 24.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.499, allocations: 3.688 kB / 0.5999 GB, free: 24.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007633/0.5066, allocations: 2.111 MB / 0.6019 GB, free: 23.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.5079, allocations: 206.2 kB / 0.6021 GB, free: 23.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02486/0.5328, allocations: 9.986 MB / 0.6119 GB, free: 19.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/0.5346, allocations: 220.1 kB / 0.6121 GB, free: 19.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.5347, allocations: 39.09 kB / 0.6121 GB, free: 19.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.5347, allocations: 4 kB / 0.6121 GB, free: 19.4 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.014/0.5487, allocations: 4.954 MB / 0.617 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.5488, allocations: 0 / 0.617 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006238/0.555, allocations: 2.118 MB / 0.619 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.5561, allocations: 199.7 kB / 0.6192 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02006/0.5762, allocations: 9.982 MB / 0.629 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.5779, allocations: 207.1 kB / 0.6292 GB, free: 2.438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.5781, allocations: 36.56 kB / 0.6292 GB, free: 2.402 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.0006933/0.5788, allocations: 334.5 kB / 0.6295 GB, free: 2.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/0.579, allocations: 114.6 kB / 0.6296 GB, free: 1.957 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01417/0.5931, allocations: 4.862 MB / 0.6344 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.5932, allocations: 8.516 kB / 0.6344 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5932, allocations: 0 / 0.6344 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-05/0.5933, allocations: 3.984 kB / 0.6344 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01734/0.6106, allocations: 6.459 MB / 0.6407 GB, free: 6.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-05/0.6107, allocations: 0 / 0.6407 GB, free: 6.465 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007748/0.6115, allocations: 108.8 kB / 0.6408 GB, free: 6.359 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0067/0.6182, allocations: 2.053 MB / 0.6428 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002513/0.6185, allocations: 23.98 kB / 0.6428 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01992/0.6384, allocations: 8.648 MB / 0.6513 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6385, allocations: 0 / 0.6513 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01708/0.6556, allocations: 5.833 MB / 0.657 GB, free: 5.637 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000579/0.6562, allocations: 205 kB / 0.6572 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.6564, allocations: 23.95 kB / 0.6572 GB, free: 5.395 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.6576, allocations: 151.9 kB / 0.6573 GB, free: 5.246 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006623/0.6583, allocations: 200.6 kB / 0.6575 GB, free: 5.051 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-05/0.6583, allocations: 23.98 kB / 0.6576 GB, free: 5.027 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001092/0.6594, allocations: 0.6354 MB / 0.6582 GB, free: 4.383 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6595, allocations: 0 / 0.6582 GB, free: 4.383 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00255/0.662, allocations: 0.6944 MB / 0.6589 GB, free: 3.688 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.017/0.679, allocations: 6.409 MB / 0.6651 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01287/0.6919, allocations: 4.605 MB / 0.6696 GB, free: 8.629 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/0.692, allocations: 0.5 kB / 0.6696 GB, free: 8.629 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004927/0.6969, allocations: 1.743 MB / 0.6713 GB, free: 6.875 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008825/0.6978, allocations: 88.19 kB / 0.6714 GB, free: 6.785 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006104/0.7039, allocations: 4.142 MB / 0.6754 GB, free: 2.59 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007885/0.7048, allocations: 1.132 MB / 0.6765 GB, free: 1.418 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005937/0.7054, allocations: 116.3 kB / 0.6767 GB, free: 1.305 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000572/0.706, allocations: 427.3 kB / 0.6771 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/0.706, allocations: 0 / 0.6771 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0714/0.7774, allocations: 36.4 MB / 0.7126 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/0.7776, allocations: 197.3 kB / 0.7128 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.887/3.665, allocations: 0 / 0.7128 GB, free: 12.6 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: