Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,fileNamePrefix="OpenIPSL_dev_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.001179/0.001178, 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.33/1.33, allocations: 223.2 MB / 238.9 MB, free: 5.48 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.00109/0.00109, allocations: 181 kB / 290.2 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4586/0.4586, allocations: 79.45 MB / 420.7 MB, free: 3.914 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003724, allocations: 12 kB / 0.4891 GB, free: 5.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3697, allocations: 69.5 MB / 0.557 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.005123/0.3748, allocations: 5.545 MB / 0.5624 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003745/0.3786, allocations: 1.926 MB / 0.5643 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006581/0.3793, allocations: 16.62 kB / 0.5643 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006795/0.38, allocations: 169.4 kB / 0.5644 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.3817, allocations: 0.6534 MB / 0.5651 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.383, allocations: 0.5481 MB / 0.5656 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001548/0.3846, allocations: 0.9202 MB / 0.5665 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004489/0.3851, allocations: 268.5 kB / 0.5668 GB, free: 36.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006671/0.3857, allocations: 0.5171 MB / 0.5673 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005994/0.3863, allocations: 0.6257 MB / 0.5679 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.3865, allocations: 54 kB / 0.5679 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004828/0.387, allocations: 170.4 kB / 0.5681 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000223/0.3872, allocations: 216.1 kB / 0.5683 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.3874, allocations: 218.3 kB / 0.5685 GB, free: 35.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.3885, allocations: 1.098 MB / 0.5696 GB, free: 35.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.3885, allocations: 0 / 0.5696 GB, free: 35.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.3885, allocations: 0.75 kB / 0.5696 GB, free: 35.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.3885, allocations: 2.656 kB / 0.5696 GB, free: 35.51 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.007372/0.3959, allocations: 2.388 MB / 0.5719 GB, free: 34.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.396, allocations: 8.344 kB / 0.5719 GB, free: 34.67 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002439/0.3962, allocations: 127.9 kB / 0.572 GB, free: 34.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004774/0.401, allocations: 0.7816 MB / 0.5728 GB, free: 34.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.4024, allocations: 0.7742 MB / 0.5736 GB, free: 34.1 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/0.4026, allocations: 232.5 kB / 0.5738 GB, free: 33.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.4028, allocations: 81.5 kB / 0.5739 GB, free: 33.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.4048, allocations: 1.188 MB / 0.575 GB, free: 33.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.4048, allocations: 3.953 kB / 0.575 GB, free: 33.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.063e-05/0.4049, allocations: 32.16 kB / 0.5751 GB, free: 33.42 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.4049, allocations: 21.5 kB / 0.5751 GB, free: 33.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/0.407, allocations: 1.162 MB / 0.5762 GB, free: 33.05 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.004557/0.4115, allocations: 3.206 MB / 0.5793 GB, free: 31.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002659/0.4142, allocations: 1.735 MB / 0.581 GB, free: 30.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.496e-05/0.4143, allocations: 25.69 kB / 0.5811 GB, free: 30.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.4144, allocations: 39.31 kB / 0.5811 GB, free: 30.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 3.337e-06/0.4144, allocations: 4 kB / 0.5811 GB, free: 30.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.02835/0.4427, allocations: 8.725 MB / 0.5896 GB, free: 28.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.4428, allocations: 90.66 kB / 0.5897 GB, free: 28.72 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.4445, allocations: 0.9426 MB / 0.5906 GB, free: 28.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002092/0.4447, allocations: 41.14 kB / 0.5907 GB, free: 28.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/0.445, allocations: 493 kB / 0.5911 GB, free: 27.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/0.4453, allocations: 336.6 kB / 0.5915 GB, free: 27.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.774e-05/0.4454, allocations: 24.84 kB / 0.5915 GB, free: 27.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.051e-05/0.4455, allocations: 345.5 kB / 0.5918 GB, free: 27.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/0.4471, allocations: 0.778 MB / 0.5926 GB, free: 27.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.4488, allocations: 0.9 MB / 0.5935 GB, free: 26.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.4505, allocations: 0.8291 MB / 0.5943 GB, free: 26.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.4505, allocations: 0 / 0.5943 GB, free: 26.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.0155/0.466, allocations: 5.336 MB / 0.5995 GB, free: 25.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001889/0.4662, allocations: 0.7944 MB / 0.6003 GB, free: 24.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.4662, allocations: 1.875 kB / 0.6003 GB, free: 24.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007211/0.4734, allocations: 2.219 MB / 0.6024 GB, free: 23.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009898/0.4745, allocations: 185.3 kB / 0.6026 GB, free: 23.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02398/0.4984, allocations: 10.76 MB / 0.6131 GB, free: 18.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.5001, allocations: 213.4 kB / 0.6133 GB, free: 18.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.93e-05/0.5002, allocations: 39.09 kB / 0.6133 GB, free: 18.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.5002, allocations: 5.875 kB / 0.6133 GB, free: 18.38 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01329/0.5135, allocations: 5.179 MB / 0.6184 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.271e-05/0.5136, allocations: 0 / 0.6184 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006095/0.5197, allocations: 2.227 MB / 0.6206 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000883/0.5206, allocations: 171.7 kB / 0.6207 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02045/0.5411, allocations: 10.73 MB / 0.6312 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.5426, allocations: 199 kB / 0.6314 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.75e-05/0.5427, allocations: 45.36 kB / 0.6315 GB, free: 40 kB / 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.0006468/0.5434, allocations: 314.5 kB / 0.6318 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/0.5436, allocations: 114.6 kB / 0.6319 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0145/0.5581, allocations: 5.034 MB / 0.6368 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-05/0.5582, allocations: 12 kB / 0.6368 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.5582, allocations: 0 / 0.6368 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.511e-05/0.5582, allocations: 6.234 kB / 0.6368 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01686/0.5751, allocations: 6.673 MB / 0.6433 GB, free: 3.727 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/0.5752, allocations: 4 kB / 0.6433 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006495/0.5758, allocations: 96.5 kB / 0.6434 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006546/0.5824, allocations: 2.151 MB / 0.6455 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001732/0.5826, allocations: 24.83 kB / 0.6455 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02043/0.603, allocations: 9.303 MB / 0.6546 GB, free: 8.016 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6031, allocations: 0 / 0.6546 GB, free: 8.016 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01693/0.62, allocations: 6.033 MB / 0.6605 GB, free: 1.961 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004812/0.6205, allocations: 207.5 kB / 0.6607 GB, free: 1.738 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.6207, allocations: 20 kB / 0.6607 GB, free: 1.719 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.6218, allocations: 144.6 kB / 0.6609 GB, free: 1.578 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005904/0.6224, allocations: 196.6 kB / 0.6611 GB, free: 1.387 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.907e-05/0.6225, allocations: 24 kB / 0.6611 GB, free: 1.363 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009689/0.6235, allocations: 0.6352 MB / 0.6617 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6235, allocations: 4 kB / 0.6617 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002268/0.6257, allocations: 0.7101 MB / 0.6624 GB, free: 4 kB / 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.01717/0.6429, allocations: 6.604 MB / 0.6688 GB, free: 9.363 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01263/0.6556, allocations: 4.708 MB / 0.6734 GB, free: 4.641 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.6556, allocations: 0 / 0.6734 GB, free: 4.641 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004888/0.6605, allocations: 1.761 MB / 0.6752 GB, free: 2.875 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008773/0.6614, allocations: 88.91 kB / 0.6752 GB, free: 2.785 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005657/0.6671, allocations: 4.171 MB / 0.6793 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007974/0.6679, allocations: 1.129 MB / 0.6804 GB, free: 13.39 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000494/0.6684, allocations: 119.3 kB / 0.6805 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005562/0.669, allocations: 431.3 kB / 0.6809 GB, free: 12.85 MB / 494.1 MB Notification: Performance of SimCode: time 1.272e-06/0.669, allocations: 0 / 0.6809 GB, free: 12.85 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08191/0.7509, allocations: 37.83 MB / 0.7179 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.7511, allocations: 207.5 kB / 0.7181 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.719/3.47, allocations: 0 / 0.7181 GB, free: 7.102 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1) Environment - environmentSimulation: