Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.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.Controls.PSAT.TG.TGTypeII_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test",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.0009466/0.0009466, allocations: 99.31 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.309/1.309, allocations: 223.2 MB / 238.9 MB, free: 5.5 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.001111/0.001111, allocations: 181 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4635/0.4635, allocations: 78.53 MB / 419.8 MB, free: 4.359 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003773, allocations: 8 kB / 499.8 MB, free: 6.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1417, allocations: 69.37 MB / 0.5558 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.2412/0.383, allocations: 5.528 MB / 0.5612 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003673/0.3867, allocations: 1.915 MB / 0.563 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006415/0.3873, allocations: 16.84 kB / 0.5631 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006034/0.388, allocations: 165.8 kB / 0.5632 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.3896, allocations: 0.6561 MB / 0.5639 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.3909, allocations: 0.5422 MB / 0.5644 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.3922, allocations: 0.9295 MB / 0.5653 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003677/0.3925, allocations: 262.7 kB / 0.5656 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006196/0.3932, allocations: 0.5134 MB / 0.5661 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005801/0.3938, allocations: 0.6302 MB / 0.5667 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.3939, allocations: 51.5 kB / 0.5667 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004058/0.3943, allocations: 164.1 kB / 0.5669 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.3945, allocations: 223.2 kB / 0.5671 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.3947, allocations: 218.3 kB / 0.5673 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009894/0.3957, allocations: 1.09 MB / 0.5684 GB, free: 36.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3957, allocations: 0.6562 kB / 0.5684 GB, free: 36.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3957, allocations: 0 / 0.5684 GB, free: 36.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.3957, allocations: 0.625 kB / 0.5684 GB, free: 36.09 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.007384/0.4031, allocations: 2.398 MB / 0.5707 GB, free: 35.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.4032, allocations: 16.25 kB / 0.5707 GB, free: 35.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003/0.4035, allocations: 118.6 kB / 0.5708 GB, free: 35.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004887/0.4084, allocations: 0.782 MB / 0.5716 GB, free: 35.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/0.4099, allocations: 0.7716 MB / 0.5723 GB, free: 34.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/0.4102, allocations: 234.8 kB / 0.5726 GB, free: 34.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.4103, allocations: 79.53 kB / 0.5726 GB, free: 34.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.4125, allocations: 1.194 MB / 0.5738 GB, free: 34.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.4125, allocations: 0.75 kB / 0.5738 GB, free: 34.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.263e-05/0.4126, allocations: 33.7 kB / 0.5738 GB, free: 34.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.4126, allocations: 17.53 kB / 0.5739 GB, free: 34.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/0.4148, allocations: 1.162 MB / 0.575 GB, free: 34.09 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.00495/0.4197, allocations: 3.211 MB / 0.5781 GB, free: 32.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002743/0.4225, allocations: 1.741 MB / 0.5798 GB, free: 31.37 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.816e-05/0.4226, allocations: 16.98 kB / 0.5798 GB, free: 31.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.4226, allocations: 41.73 kB / 0.5799 GB, free: 31.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 2.785e-06/0.4226, allocations: 0 / 0.5799 GB, free: 31.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.0284/0.451, allocations: 8.729 MB / 0.5884 GB, free: 29.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.4511, allocations: 91.44 kB / 0.5885 GB, free: 29.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.4528, allocations: 0.938 MB / 0.5894 GB, free: 29.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003141/0.4531, allocations: 42.22 kB / 0.5895 GB, free: 29.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004037/0.4535, allocations: 490.7 kB / 0.5899 GB, free: 28.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004107/0.4539, allocations: 338.8 kB / 0.5902 GB, free: 28.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.401e-05/0.454, allocations: 28.66 kB / 0.5903 GB, free: 28.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.4542, allocations: 349.8 kB / 0.5906 GB, free: 28.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001767/0.4559, allocations: 0.7695 MB / 0.5914 GB, free: 28.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001829/0.4578, allocations: 0.8944 MB / 0.5922 GB, free: 27.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.4595, allocations: 0.8332 MB / 0.593 GB, free: 27.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.4596, allocations: 0.9375 kB / 0.593 GB, free: 27.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01607/0.4756, allocations: 5.333 MB / 0.5983 GB, free: 26.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002043/0.4759, allocations: 0.7872 MB / 0.599 GB, free: 25.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.4759, allocations: 3.344 kB / 0.599 GB, free: 25.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007441/0.4834, allocations: 2.229 MB / 0.6012 GB, free: 24.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.4844, allocations: 177.7 kB / 0.6014 GB, free: 24.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02469/0.5091, allocations: 10.75 MB / 0.6119 GB, free: 19.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.5109, allocations: 221.3 kB / 0.6121 GB, free: 19.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.511, allocations: 39.14 kB / 0.6121 GB, free: 19.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.5111, allocations: 4 kB / 0.6121 GB, free: 19.73 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01355/0.5246, allocations: 5.176 MB / 0.6172 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.5247, allocations: 0 / 0.6172 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006114/0.5308, allocations: 2.228 MB / 0.6194 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009097/0.5318, allocations: 175.8 kB / 0.6195 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02093/0.5527, allocations: 10.72 MB / 0.63 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.5544, allocations: 196.2 kB / 0.6302 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.944e-05/0.5545, allocations: 43.98 kB / 0.6302 GB, free: 1.457 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.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 (107): * Single equations (assignments): 106 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0006643/0.5552, allocations: 319.5 kB / 0.6305 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/0.5554, allocations: 122.5 kB / 0.6306 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01445/0.5698, allocations: 5.015 MB / 0.6355 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/0.5699, allocations: 12 kB / 0.6356 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.5699, allocations: 5.109 kB / 0.6356 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.622e-05/0.57, allocations: 3.984 kB / 0.6356 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01711/0.5871, allocations: 6.681 MB / 0.6421 GB, free: 5.145 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/0.5871, allocations: 1.594 kB / 0.6421 GB, free: 5.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006628/0.5878, allocations: 91.89 kB / 0.6422 GB, free: 5.055 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0067/0.5945, allocations: 2.155 MB / 0.6443 GB, free: 2.898 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002189/0.5948, allocations: 27.94 kB / 0.6443 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02101/0.6158, allocations: 9.297 MB / 0.6534 GB, free: 9.441 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/0.6159, allocations: 4.781 kB / 0.6534 GB, free: 9.438 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01675/0.6326, allocations: 6.029 MB / 0.6593 GB, free: 3.387 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005787/0.6333, allocations: 207.5 kB / 0.6595 GB, free: 3.164 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.6335, allocations: 20 kB / 0.6595 GB, free: 3.145 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.6346, allocations: 143.9 kB / 0.6596 GB, free: 3.004 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006404/0.6352, allocations: 196.6 kB / 0.6598 GB, free: 2.812 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.256e-05/0.6353, allocations: 28 kB / 0.6598 GB, free: 2.785 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001058/0.6364, allocations: 0.6391 MB / 0.6605 GB, free: 2.137 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6364, allocations: 0 / 0.6605 GB, free: 2.137 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0024/0.6388, allocations: 0.714 MB / 0.6612 GB, free: 1.422 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (gen.delta,gen.w,gen.e1q,tGtypeII.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 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01692/0.6557, allocations: 6.602 MB / 0.6676 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01252/0.6683, allocations: 4.691 MB / 0.6722 GB, free: 6.078 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.986e-06/0.6684, allocations: 0 / 0.6722 GB, free: 6.078 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005004/0.6734, allocations: 1.769 MB / 0.6739 GB, free: 4.301 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008718/0.6743, allocations: 82.55 kB / 0.674 GB, free: 4.219 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00608/0.6804, allocations: 4.179 MB / 0.6781 GB, free: 15.97 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007825/0.6812, allocations: 1.129 MB / 0.6792 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005149/0.6817, allocations: 117.8 kB / 0.6793 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005548/0.6823, allocations: 435.3 kB / 0.6797 GB, free: 14.28 MB / 494.1 MB Notification: Performance of SimCode: time 1.253e-06/0.6823, allocations: 0 / 0.6797 GB, free: 14.28 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06605/0.7483, allocations: 37.83 MB / 0.7167 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.7486, allocations: 204.4 kB / 0.7168 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.682/3.431, allocations: 0 / 0.7168 GB, free: 8.539 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1) Environment - environmentSimulation: