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.005653/0.005653, allocations: 169.4 kB / 15.13 MB, free: 6.023 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.387/1.387, allocations: 223.3 MB / 239.1 MB, free: 1.715 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.0008272/0.0008272, allocations: 96.53 kB / 290.3 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4532/0.4532, allocations: 78.62 MB / 420 MB, free: 44.09 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003529, allocations: 12 kB / 500 MB, free: 2.824 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3244, allocations: 69.34 MB / 0.556 GB, free: 38.78 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.004904/0.3293, allocations: 5.556 MB / 0.5614 GB, free: 37.8 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003359/0.3327, allocations: 1.742 MB / 0.5631 GB, free: 36.56 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004388/0.3332, allocations: 10.31 kB / 0.5631 GB, free: 36.56 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.3336, allocations: 151.4 kB / 0.5633 GB, free: 36.5 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001326/0.3349, allocations: 0.5768 MB / 0.5638 GB, free: 36.11 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.3359, allocations: 0.493 MB / 0.5643 GB, free: 35.86 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001137/0.3371, allocations: 1.204 MB / 0.5655 GB, free: 35.24 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003556/0.3374, allocations: 231 kB / 0.5657 GB, free: 35.14 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006508/0.3381, allocations: 492.2 kB / 0.5662 GB, free: 34.92 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006584/0.3388, allocations: 0.6124 MB / 0.5668 GB, free: 34.65 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.3389, allocations: 51.88 kB / 0.5668 GB, free: 34.65 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004262/0.3393, allocations: 178.4 kB / 0.567 GB, free: 34.61 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.3395, allocations: 212 kB / 0.5672 GB, free: 34.48 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.3397, allocations: 202.8 kB / 0.5674 GB, free: 34.36 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008185/0.3405, allocations: 1.056 MB / 0.5684 GB, free: 34.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3405, allocations: 3.938 kB / 0.5684 GB, free: 34.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3405, allocations: 0 / 0.5684 GB, free: 34.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.3405, allocations: 1.469 kB / 0.5684 GB, free: 34.02 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.007121/0.3477, allocations: 2.314 MB / 0.5707 GB, free: 33.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3477, allocations: 8.688 kB / 0.5707 GB, free: 33.03 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002083/0.3479, allocations: 122.4 kB / 0.5708 GB, free: 32.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004768/0.3527, allocations: 0.772 MB / 0.5716 GB, free: 32.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009573/0.3537, allocations: 0.697 MB / 0.5722 GB, free: 32.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002191/0.3539, allocations: 262.4 kB / 0.5725 GB, free: 32.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.354, allocations: 78.09 kB / 0.5726 GB, free: 32.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.356, allocations: 1.152 MB / 0.5737 GB, free: 31.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.356, allocations: 0 / 0.5737 GB, free: 31.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.328e-05/0.3561, allocations: 30.02 kB / 0.5737 GB, free: 31.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.3561, allocations: 17.25 kB / 0.5737 GB, free: 31.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/0.3581, allocations: 1.12 MB / 0.5748 GB, free: 31.27 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.004444/0.3626, allocations: 3.122 MB / 0.5779 GB, free: 29.51 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002712/0.3653, allocations: 1.714 MB / 0.5796 GB, free: 28.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.3667, allocations: 0.828 MB / 0.5804 GB, free: 28.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.114e-05/0.3668, allocations: 10 kB / 0.5804 GB, free: 28.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.3668, allocations: 45.47 kB / 0.5804 GB, free: 28.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=92): time 3.076e-06/0.3668, allocations: 0 / 0.5804 GB, free: 28.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.03112/0.3979, allocations: 9.207 MB / 0.5894 GB, free: 26.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.398, allocations: 65.47 kB / 0.5895 GB, free: 26.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.3992, allocations: 0.828 MB / 0.5903 GB, free: 26.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002048/0.3994, allocations: 40.77 kB / 0.5903 GB, free: 26.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.3997, allocations: 448 kB / 0.5907 GB, free: 25.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/0.4, allocations: 337.6 kB / 0.5911 GB, free: 25.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.707e-05/0.4001, allocations: 20.78 kB / 0.5911 GB, free: 25.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.363e-05/0.4002, allocations: 350.9 kB / 0.5914 GB, free: 25.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.4018, allocations: 0.7628 MB / 0.5922 GB, free: 24.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/0.4034, allocations: 0.8891 MB / 0.593 GB, free: 24.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.405, allocations: 0.8155 MB / 0.5938 GB, free: 24.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.405, allocations: 1.594 kB / 0.5938 GB, free: 24.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01571/0.4207, allocations: 5.297 MB / 0.599 GB, free: 23.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.4208, allocations: 5.438 kB / 0.599 GB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.4208, allocations: 2.219 kB / 0.599 GB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007432/0.4283, allocations: 2.221 MB / 0.6012 GB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009753/0.4293, allocations: 179.4 kB / 0.6014 GB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02307/0.4523, allocations: 10.29 MB / 0.6114 GB, free: 17.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.4539, allocations: 206.3 kB / 0.6116 GB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.336e-05/0.454, allocations: 35.33 kB / 0.6116 GB, free: 16.83 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 (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.0003862/0.4544, allocations: 228.1 kB / 0.6119 GB, free: 16.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.4546, allocations: 106.7 kB / 0.612 GB, free: 16.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01352/0.4681, allocations: 5.002 MB / 0.6168 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.4682, allocations: 12 kB / 0.6169 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.4682, allocations: 0 / 0.6169 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.152e-05/0.4682, allocations: 3.984 kB / 0.6169 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01519/0.4834, allocations: 6.59 MB / 0.6233 GB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.4834, allocations: 0 / 0.6233 GB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005757/0.484, allocations: 95.83 kB / 0.6234 GB, free: 4.691 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005951/0.49, allocations: 2.159 MB / 0.6255 GB, free: 2.527 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/0.4902, allocations: 20 kB / 0.6255 GB, free: 2.508 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0193/0.5095, allocations: 8.831 MB / 0.6341 GB, free: 9.539 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.5095, allocations: 11.88 kB / 0.6341 GB, free: 9.527 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01717/0.5267, allocations: 5.981 MB / 0.64 GB, free: 3.523 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004166/0.5272, allocations: 199.6 kB / 0.6402 GB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/0.5273, allocations: 19.95 kB / 0.6402 GB, free: 3.289 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.5284, allocations: 131.9 kB / 0.6403 GB, free: 3.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006025/0.529, allocations: 196.6 kB / 0.6405 GB, free: 2.965 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.002e-05/0.5291, allocations: 24 kB / 0.6405 GB, free: 2.941 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007672/0.5299, allocations: 0.5589 MB / 0.6411 GB, free: 2.371 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5299, allocations: 0 / 0.6411 GB, free: 2.371 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001442/0.5313, allocations: 435.6 kB / 0.6415 GB, free: 1.945 MB / 442.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 (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.01744/0.5488, allocations: 6.557 MB / 0.6479 GB, free: 11.36 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00742/0.5562, allocations: 2.695 MB / 0.6505 GB, free: 8.645 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.5563, allocations: 0 / 0.6505 GB, free: 8.645 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005196/0.5615, allocations: 1.768 MB / 0.6523 GB, free: 6.871 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009093/0.5624, allocations: 87.36 kB / 0.6523 GB, free: 6.785 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02618/0.5886, allocations: 11.27 MB / 0.6633 GB, free: 11.22 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006584/0.5893, allocations: 1.057 MB / 0.6644 GB, free: 10.14 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003747/0.5897, allocations: 82.77 kB / 0.6645 GB, free: 10.05 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005478/0.5902, allocations: 391.3 kB / 0.6648 GB, free: 9.668 MB / 474.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5903, allocations: 0 / 0.6648 GB, free: 9.668 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05109/0.6413, allocations: 29.72 MB / 0.6939 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.6416, allocations: 206.3 kB / 0.694 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.023/3.664, allocations: 3.938 kB / 0.6941 GB, free: 11.91 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)