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.005459/0.005459, allocations: 171.2 kB / 15.12 MB, free: 5.559 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.325/1.325, allocations: 223.2 MB / 239 MB, free: 1.773 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.0008655/0.0008656, allocations: 99.88 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4955/0.4955, allocations: 78.58 MB / 419.9 MB, free: 44.18 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000421/0.0004212, allocations: 8 kB / 499.8 MB, free: 2.812 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.51/0.5104, allocations: 69.35 MB / 0.5559 GB, free: 38.42 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.008688/0.5192, allocations: 5.529 MB / 0.5613 GB, free: 37.78 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006423/0.5256, allocations: 1.918 MB / 0.5631 GB, free: 36.42 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001942/0.5276, allocations: 11.97 kB / 0.5631 GB, free: 36.42 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.5287, allocations: 176.7 kB / 0.5633 GB, free: 36.34 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003498/0.5322, allocations: 0.6541 MB / 0.5639 GB, free: 35.9 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.5346, allocations: 0.5422 MB / 0.5645 GB, free: 35.62 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002833/0.5375, allocations: 0.9305 MB / 0.5654 GB, free: 35.12 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00064/0.5381, allocations: 258.1 kB / 0.5656 GB, free: 35 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.5395, allocations: 0.5123 MB / 0.5661 GB, free: 34.77 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001164/0.5406, allocations: 0.6145 MB / 0.5667 GB, free: 34.5 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001978/0.5409, allocations: 51.34 kB / 0.5668 GB, free: 34.5 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007245/0.5416, allocations: 176.2 kB / 0.5669 GB, free: 34.45 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002456/0.5419, allocations: 222.1 kB / 0.5672 GB, free: 34.32 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003138/0.5422, allocations: 217.4 kB / 0.5674 GB, free: 34.18 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.5438, allocations: 1.085 MB / 0.5684 GB, free: 33.85 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.5438, allocations: 0 / 0.5684 GB, free: 33.85 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.5438, allocations: 0 / 0.5684 GB, free: 33.85 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.5438, allocations: 0 / 0.5684 GB, free: 33.85 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.01204/0.5559, allocations: 2.373 MB / 0.5707 GB, free: 32.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/0.556, allocations: 11.25 kB / 0.5708 GB, free: 32.83 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000475/0.5564, allocations: 122 kB / 0.5709 GB, free: 32.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008595/0.565, allocations: 0.7835 MB / 0.5716 GB, free: 32.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002546/0.5676, allocations: 0.7735 MB / 0.5724 GB, free: 32.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003853/0.5681, allocations: 262.4 kB / 0.5726 GB, free: 31.85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002359/0.5683, allocations: 73.81 kB / 0.5727 GB, free: 31.83 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003552/0.5719, allocations: 1.187 MB / 0.5739 GB, free: 31.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.5719, allocations: 6.578 kB / 0.5739 GB, free: 31.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/0.5721, allocations: 29.75 kB / 0.5739 GB, free: 31.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.5721, allocations: 16.34 kB / 0.5739 GB, free: 31.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003799/0.5759, allocations: 1.167 MB / 0.5751 GB, free: 31.01 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.008906/0.5848, allocations: 3.625 MB / 0.5786 GB, free: 28.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003238/0.5881, allocations: 1.511 MB / 0.5801 GB, free: 27.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.5883, allocations: 17.27 kB / 0.5801 GB, free: 27.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.5883, allocations: 54 kB / 0.5801 GB, free: 27.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=89): time 4.519e-06/0.5883, allocations: 4 kB / 0.5801 GB, free: 27.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=89): time 0.04372/0.6321, allocations: 8.446 MB / 0.5884 GB, free: 26.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.6322, allocations: 94.45 kB / 0.5885 GB, free: 26.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/0.6341, allocations: 0.9369 MB / 0.5894 GB, free: 25.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002322/0.6343, allocations: 40.92 kB / 0.5894 GB, free: 25.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/0.6348, allocations: 482.2 kB / 0.5899 GB, free: 25.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003972/0.6352, allocations: 316.5 kB / 0.5902 GB, free: 25.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.6353, allocations: 21.41 kB / 0.5902 GB, free: 25.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.876e-05/0.6354, allocations: 355.3 kB / 0.5906 GB, free: 24.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002651/0.6381, allocations: 0.7648 MB / 0.5913 GB, free: 24.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002796/0.6409, allocations: 0.8943 MB / 0.5922 GB, free: 24.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002682/0.6436, allocations: 0.8227 MB / 0.593 GB, free: 24.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.6436, allocations: 1.031 kB / 0.593 GB, free: 24.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01997/0.6636, allocations: 5.12 MB / 0.598 GB, free: 22.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000234/0.6639, allocations: 0.7894 MB / 0.5988 GB, free: 22.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.6639, allocations: 2.25 kB / 0.5988 GB, free: 22.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007776/0.6717, allocations: 2.108 MB / 0.6008 GB, free: 21.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.6729, allocations: 202.5 kB / 0.601 GB, free: 21.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02459/0.6975, allocations: 10 MB / 0.6108 GB, free: 16.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.6994, allocations: 210 kB / 0.611 GB, free: 16.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002948/0.6997, allocations: 43.38 kB / 0.611 GB, free: 16.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.6998, allocations: 5.562 kB / 0.611 GB, free: 16.77 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0146/0.7144, allocations: 4.965 MB / 0.6159 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.7144, allocations: 0 / 0.6159 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006338/0.7208, allocations: 2.102 MB / 0.6179 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009696/0.7218, allocations: 203.7 kB / 0.6181 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02062/0.7424, allocations: 9.988 MB / 0.6279 GB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/0.7443, allocations: 195.2 kB / 0.6281 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002494/0.7446, allocations: 39.98 kB / 0.6281 GB, free: 15.55 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.000819/0.7454, allocations: 330.8 kB / 0.6284 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003655/0.7458, allocations: 118.6 kB / 0.6285 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01494/0.7607, allocations: 4.854 MB / 0.6333 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.7608, allocations: 16 kB / 0.6333 GB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.7608, allocations: 0 / 0.6333 GB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.762e-05/0.7608, allocations: 7.969 kB / 0.6333 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01755/0.7784, allocations: 6.453 MB / 0.6396 GB, free: 3.609 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/0.7784, allocations: 0 / 0.6396 GB, free: 3.609 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006636/0.7791, allocations: 119.8 kB / 0.6397 GB, free: 3.492 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006509/0.7856, allocations: 2.047 MB / 0.6417 GB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001778/0.7858, allocations: 12 kB / 0.6417 GB, free: 1.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02055/0.8064, allocations: 8.655 MB / 0.6502 GB, free: 8.633 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.8064, allocations: 0 / 0.6502 GB, free: 8.633 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0169/0.8233, allocations: 5.833 MB / 0.6559 GB, free: 2.773 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005277/0.8239, allocations: 203.5 kB / 0.6561 GB, free: 2.555 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000385/0.8243, allocations: 19.95 kB / 0.6561 GB, free: 2.535 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/0.8258, allocations: 155.8 kB / 0.6562 GB, free: 2.383 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000661/0.8265, allocations: 200.6 kB / 0.6564 GB, free: 2.188 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.8266, allocations: 16 kB / 0.6564 GB, free: 2.172 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001119/0.8277, allocations: 0.6432 MB / 0.6571 GB, free: 1.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.8277, allocations: 0 / 0.6571 GB, free: 1.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002561/0.8303, allocations: 0.7021 MB / 0.6577 GB, free: 0.8164 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.01735/0.8477, allocations: 6.405 MB / 0.664 GB, free: 10.38 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01374/0.8615, allocations: 4.598 MB / 0.6685 GB, free: 5.758 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/0.8615, allocations: 3.938 kB / 0.6685 GB, free: 5.754 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008423/0.87, allocations: 1.743 MB / 0.6702 GB, free: 4.004 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.8713, allocations: 86.55 kB / 0.6703 GB, free: 3.918 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00863/0.88, allocations: 4.129 MB / 0.6743 GB, free: 15.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/0.881, allocations: 1.14 MB / 0.6754 GB, free: 14.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008708/0.8819, allocations: 110.9 kB / 0.6755 GB, free: 14.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008522/0.8828, allocations: 427.3 kB / 0.6759 GB, free: 13.99 MB / 490.7 MB Notification: Performance of SimCode: time 1.162e-06/0.8828, allocations: 0 / 0.6759 GB, free: 13.99 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09075/0.9735, allocations: 36.4 MB / 0.7115 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002439/0.9738, allocations: 203.6 kB / 0.7117 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.05/4.024, allocations: 0 / 0.7117 GB, free: 9.543 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)