Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_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.TGTypeII_test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,fileNamePrefix="OpenIPSL_release_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/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 175.8 kB / 15.42 MB, free: 6.207 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.306/1.306, allocations: 222.8 MB / 239 MB, free: 108 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006911/0.0006912, allocations: 89.47 kB / 289.8 MB, free: 4.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3087/0.3087, allocations: 78.44 MB / 418.9 MB, free: 68 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003581, allocations: 13.94 kB / 498.5 MB, free: 35.38 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3102, allocations: 68.74 MB / 0.554 GB, free: 10.46 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.006394/0.3166, allocations: 6.657 MB / 0.5605 GB, free: 6.055 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003515/0.3202, allocations: 1.99 MB / 0.5624 GB, free: 4.645 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008999/0.3211, allocations: 11.41 kB / 0.5624 GB, free: 4.645 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000652/0.3218, allocations: 183.4 kB / 0.5626 GB, free: 4.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.3234, allocations: 0.6447 MB / 0.5632 GB, free: 4.145 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.3247, allocations: 0.6126 MB / 0.5638 GB, free: 3.797 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001448/0.3262, allocations: 1.386 MB / 0.5652 GB, free: 3.121 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004007/0.3266, allocations: 295.5 kB / 0.5655 GB, free: 2.969 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007785/0.3274, allocations: 0.5306 MB / 0.566 GB, free: 2.723 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007299/0.3281, allocations: 0.664 MB / 0.5666 GB, free: 2.418 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.3283, allocations: 53.38 kB / 0.5667 GB, free: 2.418 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004833/0.3288, allocations: 179.9 kB / 0.5668 GB, free: 2.379 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.329, allocations: 232.3 kB / 0.5671 GB, free: 2.242 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004304/0.3294, allocations: 0.5498 MB / 0.5676 GB, free: 1.883 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.3311, allocations: 1.452 MB / 0.569 GB, free: 1.328 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3312, allocations: 0 / 0.569 GB, free: 1.328 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3312, allocations: 4 kB / 0.569 GB, free: 1.324 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.838e-05/0.3312, allocations: 1.312 kB / 0.569 GB, free: 1.324 MB / 378.7 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.008114/0.3393, allocations: 2.321 MB / 0.5713 GB, free: 308 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3394, allocations: 9.5 kB / 0.5713 GB, free: 308 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003343/0.3397, allocations: 126.4 kB / 0.5714 GB, free: 216 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005246/0.345, allocations: 0.7744 MB / 0.5722 GB, free: 60 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/0.3467, allocations: 0.8091 MB / 0.573 GB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002396/0.347, allocations: 219.7 kB / 0.5732 GB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/0.3472, allocations: 74.5 kB / 0.5732 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002385/0.3496, allocations: 1.135 MB / 0.5744 GB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.3496, allocations: 0 / 0.5744 GB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.3497, allocations: 31.81 kB / 0.5744 GB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.3497, allocations: 22.66 kB / 0.5744 GB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002312/0.3521, allocations: 1.078 MB / 0.5755 GB, free: 14.48 MB / 394.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.005471/0.3575, allocations: 3.158 MB / 0.5785 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002948/0.3605, allocations: 1.595 MB / 0.5801 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/0.362, allocations: 0.7658 MB / 0.5809 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.3622, allocations: 15.06 kB / 0.5809 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.3622, allocations: 39.94 kB / 0.5809 GB, free: 10.51 MB / 394.7 MB Notification: Performance of pre-optimization done (n=93): time 2.966e-06/0.3622, allocations: 3.938 kB / 0.5809 GB, free: 10.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=93): time 0.02743/0.3897, allocations: 7.067 MB / 0.5878 GB, free: 7.012 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.3898, allocations: 90.34 kB / 0.5879 GB, free: 6.914 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.3913, allocations: 0.9546 MB / 0.5888 GB, free: 6.371 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002386/0.3915, allocations: 40.8 kB / 0.5889 GB, free: 6.328 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003667/0.3919, allocations: 495.2 kB / 0.5893 GB, free: 5.895 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003502/0.3923, allocations: 332.5 kB / 0.5897 GB, free: 5.605 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.3924, allocations: 103.6 kB / 0.5898 GB, free: 5.535 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3926, allocations: 351.1 kB / 0.5901 GB, free: 5.195 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/0.3941, allocations: 0.7003 MB / 0.5908 GB, free: 4.844 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/0.3957, allocations: 0.8362 MB / 0.5916 GB, free: 4.359 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01716/0.4128, allocations: 4.723 MB / 0.5962 GB, free: 15.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.4129, allocations: 0 / 0.5962 GB, free: 15.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01339/0.4263, allocations: 4.421 MB / 0.6005 GB, free: 11.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.785e-05/0.4264, allocations: 153.1 kB / 0.6007 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.4264, allocations: 0 / 0.6007 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006018/0.4325, allocations: 1.889 MB / 0.6025 GB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008867/0.4334, allocations: 175.7 kB / 0.6027 GB, free: 8.953 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02051/0.4539, allocations: 9.173 MB / 0.6116 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.4555, allocations: 174.9 kB / 0.6118 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.4556, allocations: 43.98 kB / 0.6118 GB, free: 15.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.406e-06/0.4557, allocations: 4 kB / 0.6118 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01315/0.4688, allocations: 4.261 MB / 0.616 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.4689, allocations: 0 / 0.616 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006206/0.4751, allocations: 1.889 MB / 0.6179 GB, free: 9.258 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008772/0.476, allocations: 175.7 kB / 0.618 GB, free: 9.086 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02049/0.4965, allocations: 9.135 MB / 0.6269 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.498, allocations: 159 kB / 0.6271 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.4981, allocations: 39.98 kB / 0.6271 GB, free: 15.61 MB / 442.7 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 (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.0005654/0.4987, allocations: 331.1 kB / 0.6274 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/0.4989, allocations: 118.5 kB / 0.6276 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/0.5116, allocations: 4.077 MB / 0.6315 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.5116, allocations: 12 kB / 0.6316 GB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-05/0.5117, allocations: 3.938 kB / 0.6316 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-05/0.5117, allocations: 3.984 kB / 0.6316 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01507/0.5268, allocations: 5.72 MB / 0.6371 GB, free: 5.191 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.5268, allocations: 0 / 0.6371 GB, free: 5.191 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005758/0.5274, allocations: 91.91 kB / 0.6372 GB, free: 5.102 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005857/0.5333, allocations: 1.835 MB / 0.639 GB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001831/0.5335, allocations: 19.94 kB / 0.639 GB, free: 3.242 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01733/0.5508, allocations: 7.856 MB / 0.6467 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5509, allocations: 0 / 0.6467 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01443/0.5653, allocations: 5.009 MB / 0.6516 GB, free: 6.211 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004853/0.5658, allocations: 207.5 kB / 0.6518 GB, free: 5.988 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.566, allocations: 20 kB / 0.6518 GB, free: 5.969 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.5671, allocations: 99.88 kB / 0.6519 GB, free: 5.871 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000631/0.5677, allocations: 200.6 kB / 0.6521 GB, free: 5.676 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-05/0.5678, allocations: 24 kB / 0.6521 GB, free: 5.652 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009035/0.5687, allocations: 0.6508 MB / 0.6528 GB, free: 4.992 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5687, allocations: 0 / 0.6528 GB, free: 4.992 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001892/0.5706, allocations: 0.7177 MB / 0.6535 GB, free: 4.273 MB / 458.7 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 (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.01503/0.5856, allocations: 5.573 MB / 0.6589 GB, free: 14.67 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01122/0.5969, allocations: 4.178 MB / 0.663 GB, free: 10.47 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.5969, allocations: 4 kB / 0.663 GB, free: 10.46 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00421/0.6012, allocations: 1.533 MB / 0.6645 GB, free: 8.918 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.6022, allocations: 104.2 kB / 0.6646 GB, free: 8.812 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04097/0.6432, allocations: 16.63 MB / 0.6808 GB, free: 7.777 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006901/0.6439, allocations: 1.109 MB / 0.6819 GB, free: 6.641 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006334/0.6446, allocations: 123.1 kB / 0.682 GB, free: 6.516 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005233/0.6451, allocations: 431.3 kB / 0.6824 GB, free: 6.094 MB / 490.7 MB Notification: Performance of SimCode: time 8.02e-07/0.6451, allocations: 0 / 0.6824 GB, free: 6.094 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06176/0.7069, allocations: 38.83 MB / 0.7204 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/0.7072, allocations: 226.1 kB / 0.7206 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.985/3.692, allocations: 0 / 0.7206 GB, free: 15.18 MB / 0.5261 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)