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.006622/0.006622, allocations: 169.9 kB / 15.12 MB, free: 5.559 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.28/1.28, allocations: 223.2 MB / 239 MB, free: 1.762 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.0008211/0.0008212, allocations: 103.7 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.455/0.455, allocations: 78.59 MB / 419.9 MB, free: 44.18 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003681, allocations: 12 kB / 499.9 MB, free: 2.824 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3424, allocations: 69.33 MB / 0.5559 GB, free: 38.85 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.004964/0.3474, allocations: 5.271 MB / 0.561 GB, free: 38.08 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003056/0.3505, allocations: 1.787 MB / 0.5627 GB, free: 36.81 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006169/0.3511, allocations: 9.969 kB / 0.5628 GB, free: 36.81 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000402/0.3515, allocations: 152.4 kB / 0.5629 GB, free: 36.75 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.353, allocations: 0.6332 MB / 0.5635 GB, free: 36.31 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.3541, allocations: 498.8 kB / 0.564 GB, free: 36.07 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001321/0.3554, allocations: 0.8599 MB / 0.5648 GB, free: 35.6 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000344/0.3558, allocations: 227.9 kB / 0.5651 GB, free: 35.5 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005745/0.3564, allocations: 493.6 kB / 0.5655 GB, free: 35.27 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006272/0.357, allocations: 0.5982 MB / 0.5661 GB, free: 35 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.3571, allocations: 55.88 kB / 0.5662 GB, free: 35 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004043/0.3576, allocations: 161.9 kB / 0.5663 GB, free: 34.96 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.3577, allocations: 208.2 kB / 0.5665 GB, free: 34.84 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.3579, allocations: 206.7 kB / 0.5667 GB, free: 34.71 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008316/0.3587, allocations: 1.015 MB / 0.5677 GB, free: 34.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3587, allocations: 0 / 0.5677 GB, free: 34.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3587, allocations: 0 / 0.5677 GB, free: 34.39 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.3588, allocations: 0 / 0.5677 GB, free: 34.39 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.007095/0.3659, allocations: 2.308 MB / 0.57 GB, free: 33.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3659, allocations: 10.56 kB / 0.57 GB, free: 33.41 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001828/0.3661, allocations: 121 kB / 0.5701 GB, free: 33.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004642/0.3707, allocations: 0.7716 MB / 0.5708 GB, free: 33.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.3719, allocations: 0.7054 MB / 0.5715 GB, free: 32.69 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002169/0.3722, allocations: 257.5 kB / 0.5718 GB, free: 32.47 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.3723, allocations: 75.84 kB / 0.5718 GB, free: 32.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.3743, allocations: 1.147 MB / 0.573 GB, free: 32.03 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.3743, allocations: 0 / 0.573 GB, free: 32.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-05/0.3744, allocations: 34.11 kB / 0.573 GB, free: 32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.3744, allocations: 15.09 kB / 0.573 GB, free: 32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/0.3766, allocations: 1.12 MB / 0.5741 GB, free: 31.65 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.005186/0.3818, allocations: 3.114 MB / 0.5771 GB, free: 29.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002815/0.3846, allocations: 1.716 MB / 0.5788 GB, free: 28.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/0.3847, allocations: 13.39 kB / 0.5788 GB, free: 28.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3848, allocations: 49.31 kB / 0.5789 GB, free: 28.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=92): time 3.647e-06/0.3848, allocations: 0 / 0.5789 GB, free: 28.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.03056/0.4153, allocations: 9.207 MB / 0.5879 GB, free: 27.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.4154, allocations: 61.66 kB / 0.5879 GB, free: 27.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009967/0.4164, allocations: 0.8289 MB / 0.5887 GB, free: 26.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002079/0.4166, allocations: 41.02 kB / 0.5888 GB, free: 26.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.4169, allocations: 452.8 kB / 0.5892 GB, free: 26.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003044/0.4172, allocations: 331.2 kB / 0.5895 GB, free: 26.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.858e-05/0.4173, allocations: 24.16 kB / 0.5895 GB, free: 26.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.062e-05/0.4174, allocations: 355.9 kB / 0.5899 GB, free: 25.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.419, allocations: 0.7585 MB / 0.5906 GB, free: 25.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/0.4207, allocations: 0.8841 MB / 0.5915 GB, free: 25.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001576/0.4223, allocations: 0.821 MB / 0.5923 GB, free: 24.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.4223, allocations: 0 / 0.5923 GB, free: 24.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01539/0.4377, allocations: 5.294 MB / 0.5975 GB, free: 23.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.4377, allocations: 6.953 kB / 0.5975 GB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.4378, allocations: 2.5 kB / 0.5975 GB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00735/0.4451, allocations: 2.227 MB / 0.5996 GB, free: 23.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000941/0.4461, allocations: 179 kB / 0.5998 GB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02453/0.4706, allocations: 10.78 MB / 0.6104 GB, free: 17.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.4722, allocations: 206.7 kB / 0.6105 GB, free: 17.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.4724, allocations: 39.66 kB / 0.6106 GB, free: 17.67 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.0003882/0.4728, allocations: 228 kB / 0.6108 GB, free: 17.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.4729, allocations: 106.7 kB / 0.6109 GB, free: 17.33 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/0.4864, allocations: 5.006 MB / 0.6158 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.4864, allocations: 8 kB / 0.6158 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4865, allocations: 3.938 kB / 0.6158 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-05/0.4865, allocations: 3.984 kB / 0.6158 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01487/0.5014, allocations: 6.59 MB / 0.6222 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.5014, allocations: 0 / 0.6222 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005681/0.502, allocations: 91.83 kB / 0.6223 GB, free: 5.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005953/0.508, allocations: 2.164 MB / 0.6244 GB, free: 3.512 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/0.5081, allocations: 16 kB / 0.6245 GB, free: 3.496 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02025/0.5284, allocations: 9.312 MB / 0.6336 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5284, allocations: 3.938 kB / 0.6336 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01664/0.545, allocations: 5.981 MB / 0.6394 GB, free: 4.031 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005117/0.5456, allocations: 203.6 kB / 0.6396 GB, free: 3.812 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.5458, allocations: 19.95 kB / 0.6396 GB, free: 3.793 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.5469, allocations: 127.9 kB / 0.6397 GB, free: 3.668 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000596/0.5475, allocations: 204.6 kB / 0.6399 GB, free: 3.469 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-05/0.5476, allocations: 27.94 kB / 0.64 GB, free: 3.441 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007314/0.5483, allocations: 0.555 MB / 0.6405 GB, free: 2.875 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5483, allocations: 4 kB / 0.6405 GB, free: 2.871 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001529/0.5499, allocations: 431.6 kB / 0.6409 GB, free: 2.449 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.01684/0.5667, allocations: 6.554 MB / 0.6473 GB, free: 11.87 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007149/0.5739, allocations: 2.707 MB / 0.65 GB, free: 9.145 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.574, allocations: 0 / 0.65 GB, free: 9.145 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005063/0.579, allocations: 1.758 MB / 0.6517 GB, free: 7.383 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007667/0.5798, allocations: 71.44 kB / 0.6517 GB, free: 7.312 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004926/0.5848, allocations: 4.057 MB / 0.6557 GB, free: 3.164 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006906/0.5855, allocations: 1.081 MB / 0.6568 GB, free: 2.059 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003622/0.5859, allocations: 82.77 kB / 0.6568 GB, free: 1.973 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005066/0.5864, allocations: 387.3 kB / 0.6572 GB, free: 1.594 MB / 458.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5864, allocations: 0 / 0.6572 GB, free: 1.594 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05056/0.6369, allocations: 29.16 MB / 0.6857 GB, free: 4.617 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.6372, allocations: 212.1 kB / 0.6859 GB, free: 4.371 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.739/3.376, allocations: 4 kB / 0.6859 GB, free: 4.367 MB / 490.7 MB (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)