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: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005133/0.005133, allocations: 97.59 kB / 15.73 MB, free: 6 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.393/1.393, allocations: 222.9 MB / 239.4 MB, free: 4.559 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.001428/0.001428, allocations: 199.3 kB / 289.7 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5327/0.5327, allocations: 91.89 MB / 431.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 79.38 kB / 0.5727 GB, free: 33.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1654, allocations: 71.29 MB / 0.6423 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.0103/0.1758, allocations: 6.053 MB / 0.6483 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005643/0.1815, allocations: 1.79 MB / 0.65 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001427/0.1829, allocations: 11.94 kB / 0.65 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.184, allocations: 206.2 kB / 0.6502 GB, free: 11.51 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003413/0.1875, allocations: 0.6987 MB / 0.6509 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.1895, allocations: 0.5885 MB / 0.6515 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002857/0.1924, allocations: 1.327 MB / 0.6528 GB, free: 8.895 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000884/0.1933, allocations: 291.3 kB / 0.653 GB, free: 8.598 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.1948, allocations: 0.564 MB / 0.6536 GB, free: 8.031 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001691/0.1965, allocations: 0.6883 MB / 0.6543 GB, free: 7.34 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005123/0.197, allocations: 100 kB / 0.6544 GB, free: 7.242 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.1982, allocations: 239.8 kB / 0.6546 GB, free: 7.008 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005341/0.1987, allocations: 266.8 kB / 0.6548 GB, free: 6.746 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001347/0.2001, allocations: 0.5787 MB / 0.6554 GB, free: 6.164 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003144/0.2032, allocations: 1.443 MB / 0.6568 GB, free: 4.715 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.2033, allocations: 4 kB / 0.6568 GB, free: 4.711 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.2033, allocations: 0 / 0.6568 GB, free: 4.711 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.261e-05/0.2033, allocations: 0 / 0.6568 GB, free: 4.711 MB / 462.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.01317/0.2165, allocations: 2.488 MB / 0.6593 GB, free: 2.168 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.2166, allocations: 8.031 kB / 0.6593 GB, free: 2.16 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008963/0.2256, allocations: 0.7641 MB / 0.66 GB, free: 1.395 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/0.2278, allocations: 0.7563 MB / 0.6607 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004063/0.2282, allocations: 248.2 kB / 0.661 GB, free: 324 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/0.2285, allocations: 72 kB / 0.6611 GB, free: 252 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003403/0.2319, allocations: 1.083 MB / 0.6621 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.2319, allocations: 4 kB / 0.6621 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.2321, allocations: 31.98 kB / 0.6621 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.2321, allocations: 16 kB / 0.6622 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003321/0.2354, allocations: 1.038 MB / 0.6632 GB, free: 14.06 MB / 478.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.007882/0.2433, allocations: 3.053 MB / 0.6662 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004662/0.248, allocations: 1.567 MB / 0.6677 GB, free: 9.176 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002223/0.2503, allocations: 0.7502 MB / 0.6684 GB, free: 8.422 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.2505, allocations: 16.98 kB / 0.6684 GB, free: 8.406 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/0.2505, allocations: 47.56 kB / 0.6685 GB, free: 8.352 MB / 478.1 MB Notification: Performance of pre-optimization done (n=92): time 3.897e-06/0.2506, allocations: 7.875 kB / 0.6685 GB, free: 8.344 MB / 478.1 MB Notification: Performance of matching and sorting (n=92): time 0.03549/0.2861, allocations: 7.48 MB / 0.6758 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.2862, allocations: 60.41 kB / 0.6758 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/0.2877, allocations: 0.8359 MB / 0.6767 GB, free: 15.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000271/0.288, allocations: 41.7 kB / 0.6767 GB, free: 15.85 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004242/0.2884, allocations: 465.1 kB / 0.6771 GB, free: 15.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005546/0.289, allocations: 349 kB / 0.6775 GB, free: 15.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000583/0.2896, allocations: 198.9 kB / 0.6777 GB, free: 14.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.2898, allocations: 349.9 kB / 0.678 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/0.2914, allocations: 0.6975 MB / 0.6787 GB, free: 13.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001647/0.2931, allocations: 0.8142 MB / 0.6795 GB, free: 12.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003162/0.2962, allocations: 1.493 MB / 0.6809 GB, free: 11.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.2963, allocations: 0 / 0.6809 GB, free: 11.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01437/0.3106, allocations: 4.367 MB / 0.6852 GB, free: 7.051 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.3107, allocations: 5.25 kB / 0.6852 GB, free: 7.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.3107, allocations: 4 kB / 0.6852 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007297/0.318, allocations: 1.893 MB / 0.6871 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.3191, allocations: 175.7 kB / 0.6872 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02503/0.3442, allocations: 9.976 MB / 0.697 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/0.346, allocations: 163.2 kB / 0.6971 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.3461, allocations: 39.98 kB / 0.6972 GB, free: 10.64 MB / 0.4981 GB 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.0007126/0.3469, allocations: 229.7 kB / 0.6974 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/0.3471, allocations: 115.2 kB / 0.6975 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01397/0.3611, allocations: 4.057 MB / 0.7015 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.3612, allocations: 8 kB / 0.7015 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3612, allocations: 0 / 0.7015 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.409e-05/0.3612, allocations: 3.984 kB / 0.7015 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01552/0.3768, allocations: 5.637 MB / 0.707 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/0.3768, allocations: 0 / 0.707 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006683/0.3775, allocations: 91.89 kB / 0.7071 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007034/0.3845, allocations: 1.835 MB / 0.7089 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002043/0.3848, allocations: 16 kB / 0.7089 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02093/0.4057, allocations: 8.644 MB / 0.7173 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4058, allocations: 0 / 0.7173 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01567/0.4215, allocations: 4.98 MB / 0.7222 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004656/0.422, allocations: 204.1 kB / 0.7224 GB, free: 492 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/0.4221, allocations: 20 kB / 0.7224 GB, free: 472 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009953/0.4231, allocations: 91.89 kB / 0.7225 GB, free: 380 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006747/0.4238, allocations: 200.7 kB / 0.7227 GB, free: 180 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.3e-05/0.4239, allocations: 24 kB / 0.7227 GB, free: 156 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007922/0.4247, allocations: 0.5706 MB / 0.7232 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.9e-07/0.4247, allocations: 0 / 0.7232 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001399/0.4261, allocations: 435.7 kB / 0.7237 GB, free: 15.14 MB / 0.5294 GB 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.000331/0.4265, allocations: 127.1 kB / 0.7238 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006839/0.4333, allocations: 2.453 MB / 0.7262 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.4333, allocations: 4 kB / 0.7262 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004739/0.4381, allocations: 1.581 MB / 0.7277 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008131/0.4389, allocations: 83.38 kB / 0.7278 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/0.4426, allocations: 2.004 MB / 0.7298 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006724/0.4432, allocations: 1.057 MB / 0.7308 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003069/0.4436, allocations: 86.75 kB / 0.7309 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.4438, allocations: 59.44 kB / 0.7309 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of SimCode: time 9.12e-07/0.4438, allocations: 0 / 0.7309 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of Templates: time 0.04123/0.485, allocations: 24.39 MB / 0.7548 GB, free: 15.2 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)