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.000806/0.000806, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.3 MB / 239 MB, free: 5.457 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.001002/0.001002, allocations: 179.6 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.473/0.473, allocations: 79.48 MB / 420.8 MB, free: 3.953 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.0003838, allocations: 11.98 kB / 0.4892 GB, free: 5.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3568, allocations: 69.5 MB / 0.5571 GB, free: 37.45 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.005213/0.362, allocations: 5.828 MB / 0.5628 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003243/0.3653, allocations: 1.892 MB / 0.5646 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005058/0.3658, allocations: 16.62 kB / 0.5647 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005977/0.3664, allocations: 165.6 kB / 0.5648 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.3678, allocations: 0.6024 MB / 0.5654 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.369, allocations: 0.5471 MB / 0.5659 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.3701, allocations: 1.306 MB / 0.5672 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003433/0.3705, allocations: 262.6 kB / 0.5675 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005473/0.371, allocations: 0.5155 MB / 0.568 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006376/0.3717, allocations: 0.6492 MB / 0.5686 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.3718, allocations: 52.75 kB / 0.5687 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003722/0.3722, allocations: 177.7 kB / 0.5688 GB, free: 35.53 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001838/0.3724, allocations: 225.5 kB / 0.569 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.3726, allocations: 221.4 kB / 0.5692 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009081/0.3735, allocations: 1.138 MB / 0.5704 GB, free: 35.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.3735, allocations: 0.9375 kB / 0.5704 GB, free: 35.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3735, allocations: 2.781 kB / 0.5704 GB, free: 35.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.3735, allocations: 1.438 kB / 0.5704 GB, free: 35.18 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.006334/0.3798, allocations: 2.389 MB / 0.5727 GB, free: 34.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3799, allocations: 8.781 kB / 0.5727 GB, free: 34.34 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001735/0.3801, allocations: 122.6 kB / 0.5728 GB, free: 34.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004377/0.3845, allocations: 0.7807 MB / 0.5736 GB, free: 34.22 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.3857, allocations: 0.7792 MB / 0.5743 GB, free: 33.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001892/0.3859, allocations: 224 kB / 0.5746 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.386, allocations: 83.81 kB / 0.5746 GB, free: 33.69 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.3879, allocations: 1.2 MB / 0.5758 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.388, allocations: 7.047 kB / 0.5758 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-05/0.3881, allocations: 29.38 kB / 0.5758 GB, free: 33.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.3881, allocations: 20.19 kB / 0.5759 GB, free: 33.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/0.3901, allocations: 1.164 MB / 0.577 GB, free: 32.87 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.004133/0.3942, allocations: 3.203 MB / 0.5801 GB, free: 31.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002507/0.3967, allocations: 1.737 MB / 0.5818 GB, free: 30.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/0.398, allocations: 0.8295 MB / 0.5826 GB, free: 29.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.3981, allocations: 15.98 kB / 0.5827 GB, free: 29.85 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.3982, allocations: 52.61 kB / 0.5827 GB, free: 29.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 2.174e-06/0.3982, allocations: 7.312 kB / 0.5827 GB, free: 29.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.02521/0.4234, allocations: 8.721 MB / 0.5912 GB, free: 28.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.4235, allocations: 92.97 kB / 0.5913 GB, free: 28.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.4248, allocations: 0.9357 MB / 0.5922 GB, free: 27.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001409/0.425, allocations: 41.58 kB / 0.5923 GB, free: 27.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.4253, allocations: 492.9 kB / 0.5927 GB, free: 27.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002916/0.4256, allocations: 337.3 kB / 0.5931 GB, free: 27.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-05/0.4257, allocations: 20.28 kB / 0.5931 GB, free: 27.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.65e-05/0.4258, allocations: 355 kB / 0.5934 GB, free: 26.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/0.4273, allocations: 0.7695 MB / 0.5942 GB, free: 26.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/0.4289, allocations: 0.9124 MB / 0.5951 GB, free: 26.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.4304, allocations: 0.8231 MB / 0.5959 GB, free: 25.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.4304, allocations: 1.344 kB / 0.5959 GB, free: 25.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01409/0.4445, allocations: 5.339 MB / 0.6011 GB, free: 24.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.021e-05/0.4447, allocations: 150.7 kB / 0.6012 GB, free: 24.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.4447, allocations: 2.578 kB / 0.6012 GB, free: 24.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006479/0.4512, allocations: 2.222 MB / 0.6034 GB, free: 24.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008887/0.4521, allocations: 181.9 kB / 0.6036 GB, free: 24.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02114/0.4732, allocations: 10.26 MB / 0.6136 GB, free: 18.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.4747, allocations: 213.4 kB / 0.6138 GB, free: 18.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.963e-05/0.4748, allocations: 42.95 kB / 0.6138 GB, free: 18.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.4748, allocations: 7.953 kB / 0.6138 GB, free: 18.14 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01189/0.4867, allocations: 5.176 MB / 0.6189 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.4868, allocations: 4 kB / 0.6189 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005445/0.4922, allocations: 2.22 MB / 0.6211 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007612/0.493, allocations: 171.7 kB / 0.6212 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01806/0.5111, allocations: 10.23 MB / 0.6312 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.5124, allocations: 203 kB / 0.6314 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.486e-05/0.5125, allocations: 39.95 kB / 0.6314 GB, free: 188 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.0005662/0.5131, allocations: 319.4 kB / 0.6317 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.5133, allocations: 115.4 kB / 0.6319 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/0.5259, allocations: 5.034 MB / 0.6368 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.526, allocations: 12 kB / 0.6368 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.526, allocations: 0 / 0.6368 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.526, allocations: 3.984 kB / 0.6368 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01539/0.5414, allocations: 6.669 MB / 0.6433 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.5415, allocations: 1.031 kB / 0.6433 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005145/0.542, allocations: 93.03 kB / 0.6434 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005903/0.5479, allocations: 2.157 MB / 0.6455 GB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.98e-05/0.548, allocations: 20 kB / 0.6455 GB, free: 1.602 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01857/0.5666, allocations: 8.818 MB / 0.6541 GB, free: 8.648 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5666, allocations: 4.469 kB / 0.6541 GB, free: 8.648 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01453/0.5812, allocations: 6.037 MB / 0.66 GB, free: 2.586 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004113/0.5816, allocations: 205 kB / 0.6602 GB, free: 2.367 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/0.5819, allocations: 23.95 kB / 0.6602 GB, free: 2.344 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.583, allocations: 143.9 kB / 0.6604 GB, free: 2.203 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005306/0.5835, allocations: 200.6 kB / 0.6606 GB, free: 2.008 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-05/0.5836, allocations: 20 kB / 0.6606 GB, free: 1.988 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00103/0.5846, allocations: 0.6391 MB / 0.6612 GB, free: 1.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5846, allocations: 0 / 0.6612 GB, free: 1.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002497/0.5871, allocations: 0.7179 MB / 0.6619 GB, free: 0.6211 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.01503/0.6022, allocations: 6.597 MB / 0.6684 GB, free: 9.992 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01126/0.6135, allocations: 4.7 MB / 0.673 GB, free: 5.273 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.6135, allocations: 0 / 0.673 GB, free: 5.273 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004385/0.6179, allocations: 1.765 MB / 0.6747 GB, free: 3.496 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.619, allocations: 101.9 kB / 0.6748 GB, free: 3.395 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02547/0.6445, allocations: 11.77 MB / 0.6863 GB, free: 7.336 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008675/0.6454, allocations: 1.109 MB / 0.6873 GB, free: 6.199 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005909/0.646, allocations: 115.9 kB / 0.6875 GB, free: 6.086 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005743/0.6466, allocations: 431.3 kB / 0.6879 GB, free: 5.668 MB / 494.1 MB Notification: Performance of SimCode: time 9.51e-07/0.6466, allocations: 4 kB / 0.6879 GB, free: 5.664 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06062/0.7073, allocations: 38.42 MB / 0.7254 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.7075, allocations: 211.5 kB / 0.7256 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.669/3.376, allocations: 0 / 0.7256 GB, free: 15.34 MB / 0.5294 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: