Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_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.TGTypeI_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_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.001276/0.001276, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.238/1.238, allocations: 222.9 MB / 239 MB, free: 4.762 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.001148/0.001148, allocations: 192.5 kB / 289.2 MB, free: 2.504 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4162/0.4162, allocations: 78.52 MB / 417.9 MB, free: 3.305 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 79.86 kB / 497.1 MB, free: 6.629 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1168, allocations: 68.17 MB / 0.552 GB, free: 2.422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.2005/0.3173, allocations: 6.368 MB / 0.5582 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002434/0.3198, allocations: 1.828 MB / 0.56 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000324/0.3201, allocations: 12.59 kB / 0.56 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003974/0.3206, allocations: 168 kB / 0.5601 GB, free: 35.72 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.3218, allocations: 0.6151 MB / 0.5607 GB, free: 35.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009022/0.3227, allocations: 0.5338 MB / 0.5613 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009138/0.3236, allocations: 1.324 MB / 0.5626 GB, free: 35.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003333/0.324, allocations: 293.5 kB / 0.5628 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004295/0.3244, allocations: 0.5605 MB / 0.5634 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004809/0.3249, allocations: 0.6896 MB / 0.5641 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.325, allocations: 99.47 kB / 0.5642 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003228/0.3254, allocations: 235 kB / 0.5644 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.3255, allocations: 260.2 kB / 0.5646 GB, free: 35.03 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003135/0.3258, allocations: 0.5892 MB / 0.5652 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008949/0.3267, allocations: 1.424 MB / 0.5666 GB, free: 34.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3267, allocations: 0 / 0.5666 GB, free: 34.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3267, allocations: 0 / 0.5666 GB, free: 34.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.3268, allocations: 0 / 0.5666 GB, free: 34.5 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.006387/0.3332, allocations: 2.452 MB / 0.569 GB, free: 33.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3332, allocations: 10.22 kB / 0.569 GB, free: 33.66 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/0.3333, allocations: 121 kB / 0.5691 GB, free: 33.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00439/0.3377, allocations: 0.762 MB / 0.5699 GB, free: 33.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007739/0.3385, allocations: 0.733 MB / 0.5706 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.3387, allocations: 257.7 kB / 0.5708 GB, free: 32.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.3389, allocations: 73.14 kB / 0.5709 GB, free: 32.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.3406, allocations: 1.08 MB / 0.5719 GB, free: 32.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.3407, allocations: 2.312 kB / 0.5719 GB, free: 32.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-05/0.3407, allocations: 28.09 kB / 0.572 GB, free: 32.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.3408, allocations: 20.2 kB / 0.572 GB, free: 32.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.3426, allocations: 1.037 MB / 0.573 GB, free: 32.9 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.003825/0.3464, allocations: 3.073 MB / 0.576 GB, free: 31.97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002377/0.3488, allocations: 1.57 MB / 0.5775 GB, free: 31.22 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/0.35, allocations: 0.7549 MB / 0.5783 GB, free: 30.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.3501, allocations: 14.62 kB / 0.5783 GB, free: 30.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.3501, allocations: 41.88 kB / 0.5783 GB, free: 30.87 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 1.994e-06/0.3501, allocations: 0 / 0.5783 GB, free: 30.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.02683/0.377, allocations: 7.476 MB / 0.5856 GB, free: 29.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.377, allocations: 62.8 kB / 0.5857 GB, free: 29.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.3781, allocations: 0.8396 MB / 0.5865 GB, free: 29.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.983e-05/0.3782, allocations: 41.05 kB / 0.5866 GB, free: 29.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.3785, allocations: 453.7 kB / 0.587 GB, free: 28.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.3787, allocations: 329.4 kB / 0.5873 GB, free: 28.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003672/0.3791, allocations: 199.2 kB / 0.5875 GB, free: 28.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.127e-05/0.3792, allocations: 353.5 kB / 0.5878 GB, free: 28.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.3806, allocations: 0.6908 MB / 0.5885 GB, free: 27.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.3821, allocations: 0.8195 MB / 0.5893 GB, free: 27.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002712/0.3848, allocations: 1.498 MB / 0.5908 GB, free: 26.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.3848, allocations: 1.125 kB / 0.5908 GB, free: 26.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01319/0.398, allocations: 4.358 MB / 0.595 GB, free: 25.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.398, allocations: 5.531 kB / 0.595 GB, free: 25.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.398, allocations: 7.188 kB / 0.595 GB, free: 25.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006097/0.4041, allocations: 1.9 MB / 0.5969 GB, free: 25.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008126/0.405, allocations: 174.5 kB / 0.5971 GB, free: 25.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02139/0.4264, allocations: 9.971 MB / 0.6068 GB, free: 20.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.4278, allocations: 161.4 kB / 0.6069 GB, free: 20.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.662e-05/0.4279, allocations: 39.42 kB / 0.607 GB, free: 20.6 MB / 430.1 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003651/0.4283, allocations: 235.8 kB / 0.6072 GB, free: 20.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.4284, allocations: 107.5 kB / 0.6073 GB, free: 20.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/0.4403, allocations: 4.051 MB / 0.6113 GB, free: 18.28 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.4403, allocations: 8.906 kB / 0.6113 GB, free: 18.28 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.4403, allocations: 1.281 kB / 0.6113 GB, free: 18.28 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.4403, allocations: 7.969 kB / 0.6113 GB, free: 18.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01237/0.4527, allocations: 5.634 MB / 0.6168 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.4527, allocations: 1.25 kB / 0.6168 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004575/0.4532, allocations: 95.89 kB / 0.6169 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005006/0.4582, allocations: 1.834 MB / 0.6187 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.633e-05/0.4583, allocations: 16 kB / 0.6187 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01617/0.4744, allocations: 8.652 MB / 0.6271 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4745, allocations: 0 / 0.6271 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/0.4877, allocations: 4.965 MB / 0.632 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000337/0.4881, allocations: 191.6 kB / 0.6322 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.4883, allocations: 17.12 kB / 0.6322 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009151/0.4892, allocations: 95.89 kB / 0.6323 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005666/0.4897, allocations: 200.7 kB / 0.6325 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.876e-05/0.4898, allocations: 20 kB / 0.6325 GB, free: 12.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006523/0.4905, allocations: 0.5706 MB / 0.633 GB, free: 11.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4905, allocations: 5.406 kB / 0.633 GB, free: 11.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001212/0.4917, allocations: 439.6 kB / 0.6335 GB, free: 11.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen.delta,gen.w,gen.e1q,tGTypeI.xg1,tGTypeI.xg2,tGTypeI.xg3) * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01431/0.506, allocations: 5.533 MB / 0.6389 GB, free: 5.766 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006484/0.5125, allocations: 2.474 MB / 0.6413 GB, free: 3.289 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.5125, allocations: 0 / 0.6413 GB, free: 3.289 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004284/0.5168, allocations: 1.573 MB / 0.6428 GB, free: 1.703 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007183/0.5176, allocations: 84.56 kB / 0.6429 GB, free: 1.617 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03548/0.5531, allocations: 16.01 MB / 0.6585 GB, free: 1.297 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005523/0.5537, allocations: 1.061 MB / 0.6596 GB, free: 216 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000348/0.554, allocations: 86.42 kB / 0.6596 GB, free: 128 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004724/0.5545, allocations: 396.9 kB / 0.66 GB, free: 15.73 MB / 478.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5545, allocations: 0 / 0.66 GB, free: 15.73 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04716/0.6017, allocations: 31.9 MB / 0.6912 GB, free: 196 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.6019, allocations: 220.6 kB / 0.6914 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.368/2.969, allocations: 0 / 0.6914 GB, free: 15.93 MB / 0.4981 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)