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: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07471/0.07471, allocations: 12.2 MB / 27.18 MB, free: 1.473 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.0007444/0.0007444, allocations: 107.2 kB / 30.68 MB, free: 4.852 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.25/1.25, allocations: 205.4 MB / 239.5 MB, free: 13.59 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.0009378/0.0009379, allocations: 192.5 kB / 290.6 MB, free: 11.64 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4117/0.4117, allocations: 78.53 MB / 420.1 MB, free: 11.65 MB / 302.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.000811/0.000811, allocations: 24 kB / 0.4895 GB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2548, allocations: 69.22 MB / 0.5571 GB, free: 21.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.003607/0.2585, allocations: 5.611 MB / 0.5626 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002278/0.2608, allocations: 1.716 MB / 0.5642 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002961/0.2611, allocations: 12 kB / 0.5642 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.2614, allocations: 146.9 kB / 0.5644 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.2625, allocations: 0.5788 MB / 0.5649 GB, free: 12.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008077/0.2633, allocations: 0.4943 MB / 0.5654 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007653/0.264, allocations: 1.206 MB / 0.5666 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002802/0.2643, allocations: 231.7 kB / 0.5668 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003733/0.2647, allocations: 481.8 kB / 0.5673 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004632/0.2652, allocations: 0.6105 MB / 0.5679 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.259e-05/0.2653, allocations: 56 kB / 0.5679 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.2656, allocations: 183.8 kB / 0.5681 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.2657, allocations: 211 kB / 0.5683 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.2658, allocations: 201.1 kB / 0.5685 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000615/0.2665, allocations: 1.052 MB / 0.5695 GB, free: 8.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2665, allocations: 0 / 0.5695 GB, free: 8.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2665, allocations: 0 / 0.5695 GB, free: 8.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.2665, allocations: 0 / 0.5695 GB, free: 8.27 MB / 382.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.005825/0.2723, allocations: 2.306 MB / 0.5718 GB, free: 5.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.2724, allocations: 15.98 kB / 0.5718 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004366/0.2767, allocations: 0.7712 MB / 0.5726 GB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008619/0.2776, allocations: 0.6939 MB / 0.5732 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001952/0.2778, allocations: 268.1 kB / 0.5735 GB, free: 4.082 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.2779, allocations: 75.91 kB / 0.5736 GB, free: 4.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.2797, allocations: 1.149 MB / 0.5747 GB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.2798, allocations: 3.938 kB / 0.5747 GB, free: 2.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.626e-05/0.2798, allocations: 32 kB / 0.5747 GB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.2799, allocations: 16 kB / 0.5747 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.2817, allocations: 1.12 MB / 0.5758 GB, free: 1.676 MB / 382.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.004209/0.2859, allocations: 3.119 MB / 0.5789 GB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00283/0.2887, allocations: 1.722 MB / 0.5806 GB, free: 12.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/0.2902, allocations: 0.8283 MB / 0.5814 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.2903, allocations: 12.98 kB / 0.5814 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.2903, allocations: 43.55 kB / 0.5814 GB, free: 11.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 2.604e-06/0.2903, allocations: 3.938 kB / 0.5814 GB, free: 11.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.02816/0.3185, allocations: 9.195 MB / 0.5904 GB, free: 2.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.3186, allocations: 64.34 kB / 0.5905 GB, free: 2.371 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.3196, allocations: 0.8358 MB / 0.5913 GB, free: 1.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001558/0.3198, allocations: 41.7 kB / 0.5913 GB, free: 1.465 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/0.3201, allocations: 452.5 kB / 0.5917 GB, free: 1.016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003081/0.3205, allocations: 335.2 kB / 0.5921 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.449e-05/0.3205, allocations: 24 kB / 0.5921 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3207, allocations: 349.9 kB / 0.5924 GB, free: 320 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.3221, allocations: 0.7639 MB / 0.5932 GB, free: 15.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/0.3237, allocations: 0.8845 MB / 0.594 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.3253, allocations: 0.8185 MB / 0.5948 GB, free: 13.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.3253, allocations: 0 / 0.5948 GB, free: 13.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01383/0.3392, allocations: 5.3 MB / 0.6 GB, free: 8.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.3392, allocations: 8 kB / 0.6 GB, free: 8.492 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.3392, allocations: 0 / 0.6 GB, free: 8.492 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006296/0.3455, allocations: 2.225 MB / 0.6022 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008768/0.3464, allocations: 175.7 kB / 0.6024 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02146/0.3679, allocations: 10.27 MB / 0.6124 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.3693, allocations: 210.8 kB / 0.6126 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/0.3694, allocations: 32 kB / 0.6126 GB, free: 11.45 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.0004365/0.3699, allocations: 233.6 kB / 0.6128 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.3701, allocations: 110.6 kB / 0.6129 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/0.3832, allocations: 4.998 MB / 0.6178 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.3833, allocations: 15.94 kB / 0.6178 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3833, allocations: 0 / 0.6178 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.822e-05/0.3833, allocations: 3.984 kB / 0.6178 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/0.398, allocations: 6.578 MB / 0.6243 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.3981, allocations: 7.953 kB / 0.6243 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005272/0.3986, allocations: 95.89 kB / 0.6244 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005803/0.4044, allocations: 2.167 MB / 0.6265 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001643/0.4046, allocations: 16 kB / 0.6265 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0186/0.4232, allocations: 8.835 MB / 0.6351 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4233, allocations: 0 / 0.6351 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01478/0.4381, allocations: 5.981 MB / 0.641 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003766/0.4385, allocations: 199.6 kB / 0.6412 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002626/0.4388, allocations: 16 kB / 0.6412 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009953/0.4398, allocations: 131.9 kB / 0.6413 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006248/0.4404, allocations: 196.6 kB / 0.6415 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.52e-05/0.4405, allocations: 24 kB / 0.6415 GB, free: 13.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007389/0.4413, allocations: 0.5589 MB / 0.6421 GB, free: 12.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4413, allocations: 0 / 0.6421 GB, free: 12.93 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001401/0.4427, allocations: 439.6 kB / 0.6425 GB, free: 12.5 MB / 462.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.0003124/0.443, allocations: 139 kB / 0.6426 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00626/0.4493, allocations: 2.699 MB / 0.6452 GB, free: 9.645 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4493, allocations: 4 kB / 0.6453 GB, free: 9.641 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004452/0.4538, allocations: 1.759 MB / 0.647 GB, free: 7.867 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000781/0.4546, allocations: 87.39 kB / 0.6471 GB, free: 7.777 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/0.4582, allocations: 2.356 MB / 0.6494 GB, free: 5.398 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005482/0.4588, allocations: 1.057 MB / 0.6504 GB, free: 4.316 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002971/0.4591, allocations: 78.78 kB / 0.6505 GB, free: 4.234 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.4593, allocations: 59.42 kB / 0.6505 GB, free: 4.18 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4593, allocations: 0 / 0.6505 GB, free: 4.18 MB / 462.1 MB Notification: Performance of Templates: time 0.03114/0.4904, allocations: 20.67 MB / 0.6707 GB, free: 15.51 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile Environment - environmentSimulation: (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 & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1) Environment - environmentSimulation: