Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.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.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_release_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/Complex 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 180.2 kB / 15.45 MB, free: 6.227 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.535/1.535, allocations: 223.3 MB / 239.5 MB, free: 1.613 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.0007509/0.0007511, allocations: 102.2 kB / 290.7 MB, free: 13.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5035/0.5035, allocations: 78.61 MB / 420.4 MB, free: 44.08 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003843, allocations: 12.38 kB / 0.4889 GB, free: 2.414 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3918, allocations: 69.34 MB / 0.5566 GB, free: 39.17 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.005166/0.397, allocations: 5.924 MB / 0.5624 GB, free: 36.59 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004433/0.4015, allocations: 1.828 MB / 0.5642 GB, free: 35.84 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.4029, allocations: 15.47 kB / 0.5642 GB, free: 35.83 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000663/0.4036, allocations: 161.6 kB / 0.5643 GB, free: 35.78 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002475/0.4061, allocations: 0.6203 MB / 0.5649 GB, free: 35.48 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.4077, allocations: 0.5305 MB / 0.5655 GB, free: 35.38 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002364/0.4101, allocations: 1.268 MB / 0.5667 GB, free: 35.03 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004833/0.4105, allocations: 260.9 kB / 0.5669 GB, free: 34.9 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009011/0.4115, allocations: 0.4966 MB / 0.5674 GB, free: 34.67 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006531/0.4121, allocations: 0.6318 MB / 0.5681 GB, free: 34.38 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.4123, allocations: 52.81 kB / 0.5681 GB, free: 34.38 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006526/0.4129, allocations: 182.6 kB / 0.5683 GB, free: 34.34 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.4132, allocations: 212.3 kB / 0.5685 GB, free: 34.21 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004638/0.4136, allocations: 0.553 MB / 0.569 GB, free: 33.84 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.4148, allocations: 1.353 MB / 0.5703 GB, free: 33.31 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4148, allocations: 0 / 0.5703 GB, free: 33.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.426e-06/0.4148, allocations: 2.531 kB / 0.5703 GB, free: 33.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.4149, allocations: 4 kB / 0.5703 GB, free: 33.31 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.006713/0.4216, allocations: 2.292 MB / 0.5726 GB, free: 32.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.4217, allocations: 8.688 kB / 0.5726 GB, free: 32.33 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002135/0.4219, allocations: 121.1 kB / 0.5727 GB, free: 32.24 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00463/0.4265, allocations: 0.771 MB / 0.5735 GB, free: 32.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.4277, allocations: 0.7336 MB / 0.5742 GB, free: 31.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002286/0.4279, allocations: 263.2 kB / 0.5744 GB, free: 31.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.4281, allocations: 77.94 kB / 0.5745 GB, free: 31.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.43, allocations: 1.161 MB / 0.5756 GB, free: 30.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.43, allocations: 0.6094 kB / 0.5756 GB, free: 30.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.936e-05/0.4301, allocations: 25.91 kB / 0.5757 GB, free: 30.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.4302, allocations: 21.72 kB / 0.5757 GB, free: 30.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/0.4323, allocations: 1.124 MB / 0.5768 GB, free: 30.53 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.004957/0.4372, allocations: 3.13 MB / 0.5798 GB, free: 28.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/0.4399, allocations: 1.723 MB / 0.5815 GB, free: 27.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/0.4412, allocations: 0.827 MB / 0.5823 GB, free: 27.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.4414, allocations: 9.812 kB / 0.5823 GB, free: 27.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.4414, allocations: 49.39 kB / 0.5824 GB, free: 27.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=92): time 2.985e-06/0.4414, allocations: 0 / 0.5824 GB, free: 27.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.02935/0.4708, allocations: 9.249 MB / 0.5914 GB, free: 25.92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.4709, allocations: 66.12 kB / 0.5915 GB, free: 25.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.4722, allocations: 0.8373 MB / 0.5923 GB, free: 25.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002738/0.4725, allocations: 41.83 kB / 0.5923 GB, free: 25.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003012/0.4728, allocations: 447.7 kB / 0.5928 GB, free: 25.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003418/0.4732, allocations: 333.6 kB / 0.5931 GB, free: 24.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.4734, allocations: 103.6 kB / 0.5932 GB, free: 24.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.324e-05/0.4735, allocations: 348.4 kB / 0.5935 GB, free: 24.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/0.4751, allocations: 0.7765 MB / 0.5943 GB, free: 24.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/0.4767, allocations: 0.8878 MB / 0.5951 GB, free: 23.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003234/0.48, allocations: 1.653 MB / 0.5968 GB, free: 23.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.48, allocations: 0 / 0.5968 GB, free: 23.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01559/0.4956, allocations: 5.318 MB / 0.6019 GB, free: 21.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.4957, allocations: 5.5 kB / 0.6019 GB, free: 21.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.4957, allocations: 2.594 kB / 0.602 GB, free: 21.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007308/0.503, allocations: 2.226 MB / 0.6041 GB, free: 21.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009747/0.504, allocations: 172 kB / 0.6043 GB, free: 21.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02364/0.5277, allocations: 10.3 MB / 0.6143 GB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.5292, allocations: 195 kB / 0.6145 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.736e-05/0.5293, allocations: 43.98 kB / 0.6146 GB, free: 14.33 MB / 426.7 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.0004073/0.5297, allocations: 226.3 kB / 0.6148 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.5299, allocations: 118.5 kB / 0.6149 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01233/0.5422, allocations: 5.01 MB / 0.6198 GB, free: 8.957 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.5423, allocations: 12 kB / 0.6198 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.5423, allocations: 0 / 0.6198 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-05/0.5423, allocations: 7.969 kB / 0.6198 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01415/0.5565, allocations: 6.593 MB / 0.6263 GB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.5565, allocations: 0 / 0.6263 GB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005699/0.5571, allocations: 95.89 kB / 0.6263 GB, free: 2.109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005635/0.5627, allocations: 2.159 MB / 0.6285 GB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002105/0.563, allocations: 16 kB / 0.6285 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01974/0.5827, allocations: 8.85 MB / 0.6371 GB, free: 6.941 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5828, allocations: 0 / 0.6371 GB, free: 6.941 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01556/0.5983, allocations: 5.985 MB / 0.643 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004409/0.5988, allocations: 207.5 kB / 0.6432 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.599, allocations: 16 kB / 0.6432 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009414/0.5999, allocations: 131.8 kB / 0.6433 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000618/0.6006, allocations: 200.7 kB / 0.6435 GB, free: 380 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.455e-05/0.6006, allocations: 23.98 kB / 0.6435 GB, free: 356 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006739/0.6013, allocations: 0.5628 MB / 0.6441 GB, free: 15.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6013, allocations: 0 / 0.6441 GB, free: 15.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001256/0.6026, allocations: 435.6 kB / 0.6445 GB, free: 15.35 MB / 458.7 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.01608/0.6187, allocations: 6.569 MB / 0.6509 GB, free: 8.742 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006954/0.6257, allocations: 2.711 MB / 0.6535 GB, free: 6.027 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6257, allocations: 0 / 0.6535 GB, free: 6.027 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00451/0.6302, allocations: 1.77 MB / 0.6553 GB, free: 4.25 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.6313, allocations: 91.38 kB / 0.6553 GB, free: 4.156 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04103/0.6723, allocations: 18.09 MB / 0.673 GB, free: 1.707 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000773/0.6731, allocations: 1.053 MB / 0.674 GB, free: 0.625 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004384/0.6736, allocations: 86.77 kB / 0.6741 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005828/0.6742, allocations: 391.3 kB / 0.6745 GB, free: 156 kB / 474.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6742, allocations: 0 / 0.6745 GB, free: 156 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05486/0.7291, allocations: 29.91 MB / 0.7037 GB, free: 2.426 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002315/0.7294, allocations: 231.9 kB / 0.7039 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.046/3.775, allocations: 0 / 0.7039 GB, free: 2.16 MB / 0.4948 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)