Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_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.TGTypeI_test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_dev_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008583/0.0008584, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.307/1.307, allocations: 223.3 MB / 239 MB, free: 5.645 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.001135/0.001135, allocations: 180.5 kB / 290.3 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4496/0.4496, allocations: 79.48 MB / 420.8 MB, free: 3.922 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003478, allocations: 8 kB / 0.4892 GB, free: 5.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.373, allocations: 69.51 MB / 0.5571 GB, free: 37.85 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.008143/0.3812, allocations: 5.568 MB / 0.5625 GB, free: 37.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004796/0.3861, allocations: 1.743 MB / 0.5642 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.3875, allocations: 13.22 kB / 0.5643 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009014/0.3884, allocations: 153.9 kB / 0.5644 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002797/0.3912, allocations: 0.5734 MB / 0.565 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.3928, allocations: 0.4994 MB / 0.5654 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001316/0.3941, allocations: 1.205 MB / 0.5666 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003377/0.3945, allocations: 230.5 kB / 0.5668 GB, free: 36.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004768/0.3949, allocations: 488 kB / 0.5673 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005201/0.3955, allocations: 0.6121 MB / 0.5679 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.213e-05/0.3956, allocations: 51.06 kB / 0.568 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004004/0.396, allocations: 184.3 kB / 0.5681 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.3962, allocations: 209.4 kB / 0.5683 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.3964, allocations: 206.7 kB / 0.5685 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008096/0.3972, allocations: 1.051 MB / 0.5696 GB, free: 35.76 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3972, allocations: 0.5312 kB / 0.5696 GB, free: 35.76 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3972, allocations: 0.6875 kB / 0.5696 GB, free: 35.76 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.3972, allocations: 3.938 kB / 0.5696 GB, free: 35.75 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.006176/0.4034, allocations: 2.308 MB / 0.5718 GB, free: 34.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.4035, allocations: 8.5 kB / 0.5718 GB, free: 34.95 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002049/0.4037, allocations: 121.9 kB / 0.5719 GB, free: 34.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004417/0.4081, allocations: 0.7704 MB / 0.5727 GB, free: 34.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.4093, allocations: 0.6978 MB / 0.5734 GB, free: 34.49 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002365/0.4095, allocations: 262.1 kB / 0.5736 GB, free: 34.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.4096, allocations: 77.12 kB / 0.5737 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.4115, allocations: 1.155 MB / 0.5748 GB, free: 33.85 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.4116, allocations: 4 kB / 0.5748 GB, free: 33.85 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-05/0.4116, allocations: 36.33 kB / 0.5749 GB, free: 33.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.4117, allocations: 17 kB / 0.5749 GB, free: 33.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/0.4136, allocations: 1.113 MB / 0.576 GB, free: 33.48 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.004379/0.418, allocations: 3.125 MB / 0.579 GB, free: 31.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002494/0.4205, allocations: 1.705 MB / 0.5807 GB, free: 30.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.4218, allocations: 0.826 MB / 0.5815 GB, free: 30.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.4219, allocations: 20.39 kB / 0.5815 GB, free: 30.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.4219, allocations: 45.81 kB / 0.5816 GB, free: 30.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.798e-06/0.422, allocations: 0 / 0.5816 GB, free: 30.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03508/0.457, allocations: 9.193 MB / 0.5905 GB, free: 28.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.4571, allocations: 61.44 kB / 0.5906 GB, free: 28.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.4584, allocations: 0.8275 MB / 0.5914 GB, free: 28.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002389/0.4587, allocations: 40.52 kB / 0.5914 GB, free: 28.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.459, allocations: 460.7 kB / 0.5919 GB, free: 28.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003482/0.4593, allocations: 334.5 kB / 0.5922 GB, free: 27.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.73e-05/0.4594, allocations: 20.38 kB / 0.5922 GB, free: 27.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.303e-05/0.4595, allocations: 351 kB / 0.5925 GB, free: 27.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.4612, allocations: 0.7618 MB / 0.5933 GB, free: 27.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/0.4628, allocations: 0.8923 MB / 0.5942 GB, free: 26.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.4644, allocations: 0.8103 MB / 0.595 GB, free: 26.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.4644, allocations: 0 / 0.595 GB, free: 26.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01481/0.4793, allocations: 5.302 MB / 0.6001 GB, free: 25.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.923e-05/0.4793, allocations: 5.75 kB / 0.6001 GB, free: 25.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/0.4794, allocations: 3.266 kB / 0.6001 GB, free: 25.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00688/0.4863, allocations: 2.222 MB / 0.6023 GB, free: 24.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009717/0.4873, allocations: 174.6 kB / 0.6025 GB, free: 24.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02181/0.5091, allocations: 10.29 MB / 0.6125 GB, free: 19.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.5106, allocations: 199.2 kB / 0.6127 GB, free: 19.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.925e-05/0.5107, allocations: 43.33 kB / 0.6128 GB, free: 19.44 MB / 430.1 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.0004122/0.5111, allocations: 226.7 kB / 0.613 GB, free: 19.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.5113, allocations: 106.7 kB / 0.6131 GB, free: 19.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01176/0.523, allocations: 5.005 MB / 0.618 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.5231, allocations: 9.594 kB / 0.618 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5231, allocations: 3.938 kB / 0.618 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.858e-05/0.5231, allocations: 7.969 kB / 0.618 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/0.5361, allocations: 6.583 MB / 0.6244 GB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.5362, allocations: 4 kB / 0.6244 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00053/0.5367, allocations: 95.89 kB / 0.6245 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005373/0.5421, allocations: 2.155 MB / 0.6266 GB, free: 5.301 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/0.5423, allocations: 16 kB / 0.6266 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01809/0.5604, allocations: 8.833 MB / 0.6353 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.5605, allocations: 3.953 kB / 0.6353 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01683/0.5773, allocations: 5.978 MB / 0.6411 GB, free: 6.312 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006629/0.578, allocations: 199.6 kB / 0.6413 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005846/0.5786, allocations: 20.7 kB / 0.6413 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/0.5801, allocations: 127.9 kB / 0.6414 GB, free: 5.953 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009282/0.5811, allocations: 208.6 kB / 0.6416 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002184/0.5813, allocations: 20 kB / 0.6416 GB, free: 5.727 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001201/0.5825, allocations: 0.5589 MB / 0.6422 GB, free: 5.156 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5825, allocations: 5.594 kB / 0.6422 GB, free: 5.152 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002638/0.5852, allocations: 431.6 kB / 0.6426 GB, free: 4.73 MB / 446.1 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.01806/0.6033, allocations: 6.574 MB / 0.649 GB, free: 14.12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008437/0.6118, allocations: 2.702 MB / 0.6517 GB, free: 11.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/0.6119, allocations: 0 / 0.6517 GB, free: 11.41 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005757/0.6176, allocations: 1.765 MB / 0.6534 GB, free: 9.637 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/0.6195, allocations: 86.09 kB / 0.6535 GB, free: 9.555 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02786/0.6473, allocations: 11.26 MB / 0.6645 GB, free: 14.06 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007517/0.6482, allocations: 1.053 MB / 0.6655 GB, free: 12.98 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004206/0.6486, allocations: 93.14 kB / 0.6656 GB, free: 12.88 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005209/0.6491, allocations: 391.3 kB / 0.666 GB, free: 12.5 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6491, allocations: 0 / 0.666 GB, free: 12.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05178/0.7009, allocations: 29.7 MB / 0.695 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/0.7011, allocations: 219.4 kB / 0.6952 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/3.218, allocations: 0 / 0.6952 GB, free: 14.89 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1) Environment - environmentSimulation: