Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0/package.mo): time 0.08351/0.08351, allocations: 12.21 MB / 27.33 MB, free: 1.441 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 115.4 kB / 30.83 MB, free: 4.715 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.1 MB / 239.3 MB, free: 11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 196.4 kB / 289.5 MB, free: 15.89 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4318/0.4318, allocations: 78.5 MB / 418 MB, free: 31.78 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002702/0.002702, allocations: 143.8 kB / 498.3 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3089, allocations: 68.02 MB / 0.5531 GB, free: 37.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.005393/0.3143, allocations: 6.439 MB / 0.5594 GB, free: 33.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003087/0.3174, allocations: 1.815 MB / 0.5611 GB, free: 31.8 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006631/0.3181, allocations: 11.12 kB / 0.5611 GB, free: 31.8 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004748/0.3186, allocations: 154.8 kB / 0.5613 GB, free: 31.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.3201, allocations: 0.6252 MB / 0.5619 GB, free: 31.33 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.3211, allocations: 0.5384 MB / 0.5624 GB, free: 31.03 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.3221, allocations: 1.268 MB / 0.5637 GB, free: 30.4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003153/0.3225, allocations: 256.7 kB / 0.5639 GB, free: 30.29 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004816/0.323, allocations: 0.5217 MB / 0.5644 GB, free: 30.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004742/0.3234, allocations: 0.6587 MB / 0.5651 GB, free: 29.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.3236, allocations: 61.97 kB / 0.5651 GB, free: 29.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003779/0.3239, allocations: 196 kB / 0.5653 GB, free: 29.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.3241, allocations: 228.4 kB / 0.5655 GB, free: 29.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003306/0.3244, allocations: 0.5448 MB / 0.5661 GB, free: 29.19 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008949/0.3253, allocations: 1.392 MB / 0.5674 GB, free: 28.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3253, allocations: 0 / 0.5674 GB, free: 28.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3254, allocations: 3 kB / 0.5674 GB, free: 28.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.3254, allocations: 4 kB / 0.5674 GB, free: 28.55 MB / 414.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.00701/0.3324, allocations: 2.437 MB / 0.5698 GB, free: 27.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.3325, allocations: 14.17 kB / 0.5698 GB, free: 27.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/0.3326, allocations: 123.6 kB / 0.5699 GB, free: 27.35 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00452/0.3371, allocations: 0.7587 MB / 0.5707 GB, free: 27.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.3382, allocations: 0.7316 MB / 0.5714 GB, free: 26.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/0.3384, allocations: 255.3 kB / 0.5716 GB, free: 26.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.3386, allocations: 75.19 kB / 0.5717 GB, free: 26.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.3405, allocations: 1.088 MB / 0.5728 GB, free: 26.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.3405, allocations: 0 / 0.5728 GB, free: 26.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-05/0.3406, allocations: 25.56 kB / 0.5728 GB, free: 26.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.3406, allocations: 16.41 kB / 0.5728 GB, free: 26.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.3425, allocations: 1.036 MB / 0.5738 GB, free: 25.67 MB / 414.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.004983/0.3475, allocations: 3.074 MB / 0.5768 GB, free: 23.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002834/0.3504, allocations: 1.57 MB / 0.5784 GB, free: 22.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.3518, allocations: 0.7556 MB / 0.5791 GB, free: 22.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.3519, allocations: 12.62 kB / 0.5791 GB, free: 22.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.352, allocations: 42.94 kB / 0.5791 GB, free: 22.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 2.455e-06/0.352, allocations: 0 / 0.5791 GB, free: 22.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.02919/0.3812, allocations: 7.478 MB / 0.5865 GB, free: 20.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.3813, allocations: 70.75 kB / 0.5865 GB, free: 20.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.3826, allocations: 0.8349 MB / 0.5873 GB, free: 19.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002549/0.3829, allocations: 45.23 kB / 0.5874 GB, free: 19.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/0.3832, allocations: 445.6 kB / 0.5878 GB, free: 19.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004263/0.3836, allocations: 339.8 kB / 0.5881 GB, free: 19.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005527/0.3842, allocations: 195.5 kB / 0.5883 GB, free: 19.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.3843, allocations: 355.6 kB / 0.5887 GB, free: 18.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.3857, allocations: 0.7001 MB / 0.5893 GB, free: 18.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.3872, allocations: 0.8103 MB / 0.5901 GB, free: 17.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002868/0.3901, allocations: 1.505 MB / 0.5916 GB, free: 17.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.3901, allocations: 0 / 0.5916 GB, free: 17.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01293/0.4031, allocations: 4.357 MB / 0.5959 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.4032, allocations: 7.984 kB / 0.5959 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.4032, allocations: 4 kB / 0.5959 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005807/0.409, allocations: 1.893 MB / 0.5977 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008816/0.4099, allocations: 175.8 kB / 0.5979 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01927/0.4292, allocations: 9.17 MB / 0.6068 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.4308, allocations: 159 kB / 0.607 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/0.431, allocations: 43.98 kB / 0.607 GB, free: 3.039 MB / 414.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 (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.000585/0.4316, allocations: 225.7 kB / 0.6072 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003248/0.432, allocations: 114.5 kB / 0.6074 GB, free: 2.695 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/0.4438, allocations: 4.049 MB / 0.6113 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.4439, allocations: 12 kB / 0.6113 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4439, allocations: 0 / 0.6113 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.542e-05/0.4439, allocations: 3.984 kB / 0.6113 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/0.4592, allocations: 5.64 MB / 0.6168 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/0.4592, allocations: 4 kB / 0.6168 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006285/0.4599, allocations: 91.89 kB / 0.6169 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005913/0.4658, allocations: 1.831 MB / 0.6187 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002495/0.4661, allocations: 20 kB / 0.6187 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01863/0.4847, allocations: 7.878 MB / 0.6264 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4848, allocations: 0 / 0.6264 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01487/0.4996, allocations: 4.95 MB / 0.6313 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004293/0.5001, allocations: 203.5 kB / 0.6315 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003986/0.5005, allocations: 16 kB / 0.6315 GB, free: 9.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.5018, allocations: 95.83 kB / 0.6316 GB, free: 9.562 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000753/0.5025, allocations: 204.5 kB / 0.6318 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/0.5027, allocations: 24 kB / 0.6318 GB, free: 9.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008278/0.5035, allocations: 0.5706 MB / 0.6323 GB, free: 8.758 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5035, allocations: 0 / 0.6323 GB, free: 8.758 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001566/0.5051, allocations: 435.6 kB / 0.6327 GB, free: 8.332 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 (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.0153/0.5204, allocations: 5.536 MB / 0.6382 GB, free: 2.762 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007255/0.5277, allocations: 2.403 MB / 0.6405 GB, free: 352 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5278, allocations: 0.5 kB / 0.6405 GB, free: 352 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004926/0.5327, allocations: 1.532 MB / 0.642 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.534, allocations: 95.91 kB / 0.6421 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03911/0.5731, allocations: 16.01 MB / 0.6577 GB, free: 14.35 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007457/0.5739, allocations: 1.049 MB / 0.6588 GB, free: 13.27 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000456/0.5744, allocations: 90.75 kB / 0.6588 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006233/0.5751, allocations: 387.3 kB / 0.6592 GB, free: 12.8 MB / 478.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5751, allocations: 0 / 0.6592 GB, free: 12.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05068/0.6258, allocations: 30.5 MB / 0.689 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/0.626, allocations: 233.7 kB / 0.6892 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/3.095, allocations: 0 / 0.6892 GB, free: 14.09 MB / 0.4981 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)