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.0011/0.0011, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.399/1.399, allocations: 223.3 MB / 239.4 MB, free: 5.531 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.001008/0.001008, allocations: 180.5 kB / 290.6 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5345/0.5345, allocations: 91.91 MB / 433.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005541/0.000554, allocations: 15.94 kB / 0.5048 GB, free: 7.285 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4069, allocations: 72.46 MB / 0.5755 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.004665/0.4116, allocations: 5.942 MB / 0.5813 GB, free: 32.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002836/0.4145, allocations: 1.845 MB / 0.5831 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003584/0.4149, allocations: 8.625 kB / 0.5831 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003717/0.4152, allocations: 168.1 kB / 0.5833 GB, free: 31.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.4165, allocations: 0.6191 MB / 0.5839 GB, free: 30.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009749/0.4175, allocations: 0.5357 MB / 0.5844 GB, free: 30.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.4185, allocations: 1.26 MB / 0.5857 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003142/0.4189, allocations: 256.6 kB / 0.5859 GB, free: 29.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005221/0.4194, allocations: 0.5008 MB / 0.5864 GB, free: 29.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005448/0.4199, allocations: 0.6252 MB / 0.587 GB, free: 29.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.769e-05/0.42, allocations: 54.22 kB / 0.5871 GB, free: 29.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003668/0.4204, allocations: 186.3 kB / 0.5872 GB, free: 29.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.4206, allocations: 214.1 kB / 0.5874 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003563/0.4209, allocations: 0.551 MB / 0.588 GB, free: 28.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009905/0.4219, allocations: 1.351 MB / 0.5893 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.422, allocations: 4 kB / 0.5893 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.422, allocations: 0 / 0.5893 GB, free: 28.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.422, allocations: 0 / 0.5893 GB, free: 28.32 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.007141/0.4291, allocations: 2.299 MB / 0.5915 GB, free: 27.33 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.4292, allocations: 13.22 kB / 0.5916 GB, free: 27.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004909/0.4341, allocations: 0.7624 MB / 0.5923 GB, free: 27.19 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.4352, allocations: 0.7373 MB / 0.593 GB, free: 26.67 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002838/0.4355, allocations: 261.9 kB / 0.5933 GB, free: 26.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.4356, allocations: 74.72 kB / 0.5933 GB, free: 26.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/0.4379, allocations: 1.153 MB / 0.5945 GB, free: 26.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.4379, allocations: 0 / 0.5945 GB, free: 26.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-05/0.438, allocations: 38.72 kB / 0.5945 GB, free: 25.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.438, allocations: 16.66 kB / 0.5945 GB, free: 25.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/0.4403, allocations: 1.125 MB / 0.5956 GB, free: 25.62 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.004797/0.4451, allocations: 3.124 MB / 0.5987 GB, free: 23.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003107/0.4482, allocations: 1.725 MB / 0.6004 GB, free: 22.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001725/0.45, allocations: 0.829 MB / 0.6012 GB, free: 22.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.4501, allocations: 12.41 kB / 0.6012 GB, free: 22.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.4501, allocations: 43.16 kB / 0.6012 GB, free: 22.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.135e-06/0.4501, allocations: 1.062 kB / 0.6012 GB, free: 22.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03447/0.4846, allocations: 9.26 MB / 0.6103 GB, free: 21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.4847, allocations: 61.27 kB / 0.6103 GB, free: 20.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.486, allocations: 0.8415 MB / 0.6111 GB, free: 20.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002187/0.4862, allocations: 40.64 kB / 0.6112 GB, free: 20.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/0.4865, allocations: 444.9 kB / 0.6116 GB, free: 20.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003437/0.4869, allocations: 333.8 kB / 0.6119 GB, free: 19.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.487, allocations: 103.3 kB / 0.612 GB, free: 19.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.139e-05/0.4871, allocations: 356.8 kB / 0.6124 GB, free: 19.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/0.4888, allocations: 0.7683 MB / 0.6131 GB, free: 19.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/0.4907, allocations: 0.8969 MB / 0.614 GB, free: 18.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003319/0.494, allocations: 1.644 MB / 0.6156 GB, free: 18.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.494, allocations: 1.344 kB / 0.6156 GB, free: 18.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01556/0.5096, allocations: 5.322 MB / 0.6208 GB, free: 14.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.5096, allocations: 8 kB / 0.6208 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.5097, allocations: 0 / 0.6208 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006393/0.5161, allocations: 2.221 MB / 0.623 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009519/0.517, allocations: 183.7 kB / 0.6231 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02077/0.5378, allocations: 10.29 MB / 0.6332 GB, free: 2.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/0.5394, allocations: 203 kB / 0.6334 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.778e-05/0.5395, allocations: 36 kB / 0.6334 GB, free: 1.82 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 (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.0003934/0.5399, allocations: 229.6 kB / 0.6336 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.5401, allocations: 114.5 kB / 0.6337 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/0.5547, allocations: 5.014 MB / 0.6386 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/0.5548, allocations: 8 kB / 0.6386 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5548, allocations: 0 / 0.6386 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.192e-05/0.5549, allocations: 15.91 kB / 0.6387 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0183/0.5732, allocations: 6.586 MB / 0.6451 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/0.5733, allocations: 7.938 kB / 0.6451 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007148/0.574, allocations: 95.89 kB / 0.6452 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00706/0.5811, allocations: 2.159 MB / 0.6473 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002207/0.5813, allocations: 19.94 kB / 0.6473 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02133/0.6027, allocations: 8.836 MB / 0.6559 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.6027, allocations: 3.938 kB / 0.656 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01752/0.6202, allocations: 5.993 MB / 0.6618 GB, free: 4.414 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005169/0.6208, allocations: 203.8 kB / 0.662 GB, free: 4.195 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.621, allocations: 20 kB / 0.662 GB, free: 4.176 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.6221, allocations: 131.9 kB / 0.6621 GB, free: 4.047 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006478/0.6227, allocations: 192.6 kB / 0.6623 GB, free: 3.859 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.43e-05/0.6228, allocations: 24 kB / 0.6623 GB, free: 3.836 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007454/0.6236, allocations: 0.5706 MB / 0.6629 GB, free: 3.254 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6236, allocations: 0 / 0.6629 GB, free: 3.254 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001424/0.625, allocations: 439.5 kB / 0.6633 GB, free: 2.824 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 (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.0003064/0.6253, allocations: 131.2 kB / 0.6635 GB, free: 2.688 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007256/0.6326, allocations: 2.715 MB / 0.6661 GB, free: 15.96 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6326, allocations: 0 / 0.6661 GB, free: 15.96 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005152/0.6378, allocations: 1.759 MB / 0.6678 GB, free: 14.18 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.639, allocations: 79.44 kB / 0.6679 GB, free: 14.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/0.6433, allocations: 2.464 MB / 0.6703 GB, free: 11.62 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008559/0.6442, allocations: 1.061 MB / 0.6713 GB, free: 10.53 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004054/0.6446, allocations: 78.78 kB / 0.6714 GB, free: 10.45 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.6448, allocations: 59.42 kB / 0.6715 GB, free: 10.39 MB / 478.1 MB Notification: Performance of SimCode: time 7.62e-07/0.6448, allocations: 0 / 0.6715 GB, free: 10.39 MB / 478.1 MB Notification: Performance of Templates: time 0.03757/0.6824, allocations: 21.26 MB / 0.6922 GB, free: 5.129 MB / 494.1 MB 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)