Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.Order4test2_TG,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_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.001033/0.001033, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.425/1.425, allocations: 223.2 MB / 239 MB, free: 5.453 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.001278/0.001277, allocations: 184.5 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4794/0.4794, allocations: 78.56 MB / 419.9 MB, free: 4.266 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003873, allocations: 12 kB / 499.9 MB, free: 6.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1368, allocations: 69.36 MB / 0.5559 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.2458/0.3826, allocations: 5.86 MB / 0.5616 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003545/0.3862, allocations: 1.873 MB / 0.5635 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006835/0.3869, allocations: 14.5 kB / 0.5635 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005914/0.3875, allocations: 172 kB / 0.5636 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001493/0.389, allocations: 0.607 MB / 0.5642 GB, free: 36.82 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.3902, allocations: 0.5494 MB / 0.5648 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001187/0.3914, allocations: 1.311 MB / 0.566 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003651/0.3918, allocations: 252 kB / 0.5663 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000554/0.3923, allocations: 0.5074 MB / 0.5668 GB, free: 36.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006055/0.393, allocations: 0.6354 MB / 0.5674 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.3931, allocations: 52.81 kB / 0.5674 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003803/0.3935, allocations: 186.3 kB / 0.5676 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.3937, allocations: 218.1 kB / 0.5678 GB, free: 35.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.3938, allocations: 221 kB / 0.568 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009196/0.3947, allocations: 1.128 MB / 0.5691 GB, free: 35.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3948, allocations: 0.625 kB / 0.5691 GB, free: 35.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3948, allocations: 2.438 kB / 0.5691 GB, free: 35.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.3948, allocations: 0 / 0.5691 GB, free: 35.71 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.006684/0.4015, allocations: 2.372 MB / 0.5715 GB, free: 34.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.4015, allocations: 11.88 kB / 0.5715 GB, free: 34.87 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003086/0.4019, allocations: 123.1 kB / 0.5716 GB, free: 34.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004591/0.4065, allocations: 0.7872 MB / 0.5724 GB, free: 34.74 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.4079, allocations: 0.7773 MB / 0.5731 GB, free: 34.37 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002746/0.4082, allocations: 273.4 kB / 0.5734 GB, free: 34.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.4084, allocations: 71.22 kB / 0.5734 GB, free: 34.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/0.4106, allocations: 1.195 MB / 0.5746 GB, free: 34.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.4106, allocations: 2.062 kB / 0.5746 GB, free: 34.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.4107, allocations: 33.23 kB / 0.5746 GB, free: 34.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.4107, allocations: 18.47 kB / 0.5747 GB, free: 34.08 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/0.4129, allocations: 1.168 MB / 0.5758 GB, free: 33.84 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.005261/0.4181, allocations: 3.526 MB / 0.5792 GB, free: 31.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/0.4201, allocations: 1.522 MB / 0.5807 GB, free: 30.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/0.4214, allocations: 0.8217 MB / 0.5815 GB, free: 30.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.4215, allocations: 19.17 kB / 0.5816 GB, free: 30.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.4215, allocations: 41.83 kB / 0.5816 GB, free: 30.56 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.156e-06/0.4215, allocations: 0 / 0.5816 GB, free: 30.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02407/0.4456, allocations: 8.057 MB / 0.5895 GB, free: 29.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.4457, allocations: 86.45 kB / 0.5895 GB, free: 29.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/0.4472, allocations: 0.9285 MB / 0.5905 GB, free: 28.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002391/0.4475, allocations: 41.11 kB / 0.5905 GB, free: 28.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.4478, allocations: 491.6 kB / 0.591 GB, free: 28.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/0.4481, allocations: 318.6 kB / 0.5913 GB, free: 27.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.101e-05/0.4482, allocations: 20.62 kB / 0.5913 GB, free: 27.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.019e-05/0.4483, allocations: 349.9 kB / 0.5916 GB, free: 27.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.4499, allocations: 0.7792 MB / 0.5924 GB, free: 27.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/0.4515, allocations: 0.9073 MB / 0.5933 GB, free: 27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.4531, allocations: 0.833 MB / 0.5941 GB, free: 26.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4532, allocations: 4 kB / 0.5941 GB, free: 26.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0144/0.4676, allocations: 5.133 MB / 0.5991 GB, free: 25.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001324/0.4677, allocations: 151 kB / 0.5992 GB, free: 25.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.4678, allocations: 2.094 kB / 0.5992 GB, free: 25.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00667/0.4745, allocations: 2.1 MB / 0.6013 GB, free: 25.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.4756, allocations: 200.7 kB / 0.6015 GB, free: 25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02055/0.4961, allocations: 9.522 MB / 0.6108 GB, free: 20.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.4978, allocations: 217 kB / 0.611 GB, free: 20.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.498, allocations: 47.91 kB / 0.611 GB, free: 20.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.498, allocations: 4 kB / 0.611 GB, free: 20.67 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01194/0.5099, allocations: 4.979 MB / 0.6159 GB, free: 16.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.51, allocations: 4 kB / 0.6159 GB, free: 16.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005217/0.5152, allocations: 2.088 MB / 0.6179 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008913/0.5161, allocations: 203.7 kB / 0.6181 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01692/0.533, allocations: 9.494 MB / 0.6274 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.5345, allocations: 200.2 kB / 0.6276 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.934e-05/0.5346, allocations: 43.98 kB / 0.6276 GB, free: 4.148 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" 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 (109): * Single equations (assignments): 108 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005601/0.5352, allocations: 318.6 kB / 0.6279 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.5353, allocations: 118.5 kB / 0.6281 GB, free: 3.711 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/0.547, allocations: 4.854 MB / 0.6328 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.5471, allocations: 8 kB / 0.6328 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.5471, allocations: 0 / 0.6328 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-05/0.5471, allocations: 11.94 kB / 0.6328 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/0.5619, allocations: 6.465 MB / 0.6391 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/0.562, allocations: 0 / 0.6391 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006754/0.5627, allocations: 111.9 kB / 0.6392 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005707/0.5684, allocations: 2.052 MB / 0.6412 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001772/0.5686, allocations: 17.06 kB / 0.6413 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01686/0.5855, allocations: 8.208 MB / 0.6493 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5855, allocations: 0 / 0.6493 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01459/0.6001, allocations: 5.849 MB / 0.655 GB, free: 7.828 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005821/0.6007, allocations: 213 kB / 0.6552 GB, free: 7.602 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/0.601, allocations: 16 kB / 0.6552 GB, free: 7.586 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.602, allocations: 147.9 kB / 0.6553 GB, free: 7.441 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006484/0.6026, allocations: 205.8 kB / 0.6555 GB, free: 7.242 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.077e-05/0.6027, allocations: 27.95 kB / 0.6556 GB, free: 7.215 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000951/0.6037, allocations: 0.6274 MB / 0.6562 GB, free: 6.578 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6037, allocations: 0 / 0.6562 GB, free: 6.578 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00216/0.6058, allocations: 0.6983 MB / 0.6569 GB, free: 5.879 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (57): * Single equations (assignments): 56 * 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.01481/0.6207, allocations: 6.431 MB / 0.6631 GB, free: 15.41 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01146/0.6322, allocations: 4.626 MB / 0.6677 GB, free: 10.77 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.6322, allocations: 0 / 0.6677 GB, free: 10.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004344/0.6366, allocations: 1.742 MB / 0.6694 GB, free: 9.027 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.6376, allocations: 98.03 kB / 0.6695 GB, free: 8.93 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02486/0.6625, allocations: 11.63 MB / 0.6808 GB, free: 13.01 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008524/0.6634, allocations: 1.105 MB / 0.6819 GB, free: 11.87 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007029/0.6641, allocations: 123.8 kB / 0.682 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006022/0.6647, allocations: 423.3 kB / 0.6824 GB, free: 11.34 MB / 494.1 MB Notification: Performance of SimCode: time 8.32e-07/0.6647, allocations: 0 / 0.6824 GB, free: 11.34 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06668/0.7314, allocations: 36.87 MB / 0.7184 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/0.7317, allocations: 200.7 kB / 0.7186 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.715/3.447, allocations: 0 / 0.7186 GB, free: 6.566 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1) Environment - environmentSimulation: