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.001071/0.001071, allocations: 99.78 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.299/1.299, allocations: 223.2 MB / 238.9 MB, free: 5.672 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.001072/0.001072, allocations: 185 kB / 290.2 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4455/0.4455, allocations: 78.53 MB / 419.8 MB, free: 4.367 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003651, allocations: 12 kB / 499.8 MB, free: 6.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.139, allocations: 69.35 MB / 0.5558 GB, free: 0.918 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.2245/0.3635, allocations: 5.271 MB / 0.5609 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002859/0.3664, allocations: 1.768 MB / 0.5627 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005169/0.3669, allocations: 13.81 kB / 0.5627 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004253/0.3674, allocations: 153.8 kB / 0.5628 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.3689, allocations: 0.6392 MB / 0.5634 GB, free: 37 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.3699, allocations: 492.2 kB / 0.5639 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.3709, allocations: 0.8611 MB / 0.5647 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003453/0.3713, allocations: 227 kB / 0.565 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004683/0.3718, allocations: 498.1 kB / 0.5654 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005615/0.3723, allocations: 0.5918 MB / 0.566 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.3724, allocations: 54.53 kB / 0.5661 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003614/0.3728, allocations: 156.9 kB / 0.5662 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.373, allocations: 214.1 kB / 0.5664 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.3731, allocations: 208.7 kB / 0.5666 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007871/0.3739, allocations: 1.01 MB / 0.5676 GB, free: 36.4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3739, allocations: 0.5625 kB / 0.5676 GB, free: 36.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3739, allocations: 6.266 kB / 0.5676 GB, free: 36.4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.374, allocations: 0 / 0.5676 GB, free: 36.4 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.007183/0.3811, allocations: 2.302 MB / 0.5699 GB, free: 35.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.3812, allocations: 11.47 kB / 0.5699 GB, free: 35.59 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002314/0.3814, allocations: 119.8 kB / 0.57 GB, free: 35.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004766/0.3862, allocations: 0.7765 MB / 0.5707 GB, free: 35.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.3873, allocations: 0.7004 MB / 0.5714 GB, free: 35.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002253/0.3875, allocations: 260.7 kB / 0.5717 GB, free: 34.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.3876, allocations: 74.81 kB / 0.5717 GB, free: 34.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/0.3896, allocations: 1.146 MB / 0.5729 GB, free: 34.85 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.3896, allocations: 0.7969 kB / 0.5729 GB, free: 34.85 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.268e-05/0.3897, allocations: 29.72 kB / 0.5729 GB, free: 34.85 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.3897, allocations: 21.7 kB / 0.5729 GB, free: 34.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.3918, allocations: 1.12 MB / 0.574 GB, free: 34.71 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.004509/0.3963, allocations: 3.12 MB / 0.5771 GB, free: 32.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002672/0.399, allocations: 1.714 MB / 0.5787 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.3991, allocations: 16.86 kB / 0.5787 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.3992, allocations: 38.31 kB / 0.5788 GB, free: 31.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.855e-06/0.3992, allocations: 0 / 0.5788 GB, free: 31.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03122/0.4304, allocations: 9.203 MB / 0.5878 GB, free: 30.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.4305, allocations: 66 kB / 0.5878 GB, free: 30.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.4317, allocations: 0.8279 MB / 0.5886 GB, free: 30.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002217/0.4319, allocations: 41.02 kB / 0.5887 GB, free: 29.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.4322, allocations: 456 kB / 0.5891 GB, free: 29.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/0.4325, allocations: 337.6 kB / 0.5894 GB, free: 29.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.67e-05/0.4326, allocations: 21.78 kB / 0.5895 GB, free: 29.33 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.497e-05/0.4327, allocations: 350.2 kB / 0.5898 GB, free: 29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.4342, allocations: 0.758 MB / 0.5905 GB, free: 28.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/0.4359, allocations: 0.886 MB / 0.5914 GB, free: 28.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.4376, allocations: 0.8118 MB / 0.5922 GB, free: 28.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.4376, allocations: 0.9688 kB / 0.5922 GB, free: 28.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01602/0.4536, allocations: 5.3 MB / 0.5974 GB, free: 26.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.4537, allocations: 8.031 kB / 0.5974 GB, free: 26.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.4537, allocations: 2.938 kB / 0.5974 GB, free: 26.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007541/0.4612, allocations: 2.218 MB / 0.5995 GB, free: 26.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.4623, allocations: 179 kB / 0.5997 GB, free: 26.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02533/0.4877, allocations: 10.78 MB / 0.6102 GB, free: 21.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.4892, allocations: 206.4 kB / 0.6104 GB, free: 21.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-05/0.4893, allocations: 39.94 kB / 0.6105 GB, free: 21.5 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 (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.000389/0.4897, allocations: 228.3 kB / 0.6107 GB, free: 21.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.4899, allocations: 107.5 kB / 0.6108 GB, free: 21.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01312/0.503, allocations: 4.997 MB / 0.6157 GB, free: 16.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.503, allocations: 15.95 kB / 0.6157 GB, free: 16.56 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.503, allocations: 1.125 kB / 0.6157 GB, free: 16.56 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.081e-05/0.5031, allocations: 3.984 kB / 0.6157 GB, free: 16.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/0.5175, allocations: 6.584 MB / 0.6221 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.5176, allocations: 4 kB / 0.6221 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005809/0.5182, allocations: 95.83 kB / 0.6222 GB, free: 9.734 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005982/0.5242, allocations: 2.157 MB / 0.6243 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002168/0.5244, allocations: 16 kB / 0.6243 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01862/0.543, allocations: 9.319 MB / 0.6334 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.5431, allocations: 3.938 kB / 0.6335 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01634/0.5594, allocations: 5.986 MB / 0.6393 GB, free: 8.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000487/0.56, allocations: 199.6 kB / 0.6395 GB, free: 7.871 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.5601, allocations: 16 kB / 0.6395 GB, free: 7.855 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009917/0.5611, allocations: 135.8 kB / 0.6396 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005845/0.5617, allocations: 204.6 kB / 0.6398 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.715e-05/0.5618, allocations: 16 kB / 0.6398 GB, free: 7.508 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007068/0.5625, allocations: 0.5589 MB / 0.6404 GB, free: 6.938 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5625, allocations: 0 / 0.6404 GB, free: 6.938 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001399/0.5639, allocations: 443.6 kB / 0.6408 GB, free: 6.504 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 (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.01696/0.5809, allocations: 6.556 MB / 0.6472 GB, free: 15.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007585/0.5885, allocations: 2.702 MB / 0.6499 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.5886, allocations: 0 / 0.6499 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005082/0.5937, allocations: 1.76 MB / 0.6516 GB, free: 11.44 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000753/0.5945, allocations: 72.47 kB / 0.6516 GB, free: 11.37 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004785/0.5993, allocations: 4.047 MB / 0.6556 GB, free: 7.273 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006163/0.5999, allocations: 1.077 MB / 0.6566 GB, free: 6.172 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000295/0.6002, allocations: 85.02 kB / 0.6567 GB, free: 6.086 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004967/0.6007, allocations: 392.5 kB / 0.6571 GB, free: 5.703 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6007, allocations: 0 / 0.6571 GB, free: 5.703 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04933/0.6501, allocations: 29.14 MB / 0.6856 GB, free: 8.902 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/0.6503, allocations: 191.2 kB / 0.6857 GB, free: 8.668 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.482/3.132, allocations: 8 kB / 0.6857 GB, free: 8.66 MB / 494.1 MB (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/linux/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) Environment - environmentSimulation: