Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.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.Sources.CurrentSourceReImInputConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant") translateModel(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 116.3 kB / 16.37 MB, free: 6.004 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.317/1.317, allocations: 222.9 MB / 240 MB, free: 4.48 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.00132/0.00132, allocations: 184.2 kB / 290.3 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5167/0.5167, allocations: 91.91 MB / 432.4 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002725/0.002725, allocations: 83.88 kB / 0.5033 GB, free: 6.98 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3258, allocations: 71.26 MB / 0.5729 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant): time 0.005056/0.3309, allocations: 6.073 MB / 0.5788 GB, free: 33.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002988/0.3339, allocations: 1.779 MB / 0.5805 GB, free: 32.33 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003391/0.3343, allocations: 11.31 kB / 0.5806 GB, free: 32.33 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004783/0.3348, allocations: 240 kB / 0.5808 GB, free: 32.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009964/0.3358, allocations: 0.532 MB / 0.5813 GB, free: 31.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.3371, allocations: 0.7713 MB / 0.5821 GB, free: 31.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.3382, allocations: 1.356 MB / 0.5834 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003371/0.3385, allocations: 289.5 kB / 0.5837 GB, free: 30.64 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003927/0.3389, allocations: 0.5603 MB / 0.5842 GB, free: 30.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005697/0.3395, allocations: 0.6982 MB / 0.5849 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.3397, allocations: 105.3 kB / 0.585 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003156/0.34, allocations: 226.5 kB / 0.5852 GB, free: 29.97 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.3402, allocations: 275.8 kB / 0.5855 GB, free: 29.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004107/0.3406, allocations: 0.5901 MB / 0.586 GB, free: 29.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.3417, allocations: 1.449 MB / 0.5875 GB, free: 28.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3418, allocations: 0 / 0.5875 GB, free: 28.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3418, allocations: 0 / 0.5875 GB, free: 28.74 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.3418, allocations: 1.25 kB / 0.5875 GB, free: 28.74 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.007318/0.3491, allocations: 2.503 MB / 0.5899 GB, free: 27.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3492, allocations: 9.906 kB / 0.5899 GB, free: 27.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004079/0.3532, allocations: 0.6771 MB / 0.5906 GB, free: 27.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009344/0.3542, allocations: 0.7436 MB / 0.5913 GB, free: 26.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002757/0.3545, allocations: 338.6 kB / 0.5916 GB, free: 26.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.3546, allocations: 70.62 kB / 0.5917 GB, free: 26.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.3566, allocations: 1.112 MB / 0.5928 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.3567, allocations: 9.344 kB / 0.5928 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.123e-05/0.3568, allocations: 25.12 kB / 0.5928 GB, free: 26.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.3568, allocations: 16.5 kB / 0.5928 GB, free: 26.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002056/0.3588, allocations: 1.048 MB / 0.5938 GB, free: 25.81 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.005176/0.364, allocations: 3.409 MB / 0.5972 GB, free: 23.83 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01533/0.3794, allocations: 3.949 MB / 0.601 GB, free: 22.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.3809, allocations: 0.7317 MB / 0.6017 GB, free: 22.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001297/0.3811, allocations: 16.42 kB / 0.6018 GB, free: 22.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.3811, allocations: 44.69 kB / 0.6018 GB, free: 22.44 MB / 430.1 MB Notification: Performance of pre-optimization done (n=88): time 2.765e-06/0.3811, allocations: 3.938 kB / 0.6018 GB, free: 22.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.03342/0.4145, allocations: 8.454 MB / 0.6101 GB, free: 20.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.4146, allocations: 91.45 kB / 0.6102 GB, free: 20.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.4158, allocations: 0.8499 MB / 0.611 GB, free: 20.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.4159, allocations: 44.89 kB / 0.611 GB, free: 20.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/0.4162, allocations: 454 kB / 0.6115 GB, free: 19.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/0.4164, allocations: 305.3 kB / 0.6117 GB, free: 19.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003381/0.4168, allocations: 158.2 kB / 0.6119 GB, free: 19.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.961e-05/0.4168, allocations: 353.5 kB / 0.6122 GB, free: 19.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.4182, allocations: 0.6353 MB / 0.6129 GB, free: 18.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.4195, allocations: 0.7738 MB / 0.6136 GB, free: 18.24 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002659/0.4222, allocations: 1.435 MB / 0.615 GB, free: 17.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.4222, allocations: 1.188 kB / 0.615 GB, free: 17.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01275/0.435, allocations: 4.306 MB / 0.6192 GB, free: 14.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.435, allocations: 10.19 kB / 0.6192 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.4351, allocations: 4 kB / 0.6192 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006077/0.4411, allocations: 2.081 MB / 0.6213 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006629/0.4418, allocations: 135.8 kB / 0.6214 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02323/0.4651, allocations: 10.63 MB / 0.6318 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.4666, allocations: 155.1 kB / 0.6319 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.4667, allocations: 35.98 kB / 0.632 GB, free: 1.262 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,15)} Notification: Performance of prepare postOptimizeDAE: time 0.000412/0.4672, allocations: 235.5 kB / 0.6322 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002653/0.4674, allocations: 110.6 kB / 0.6323 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/0.4815, allocations: 4.271 MB / 0.6365 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.4815, allocations: 8 kB / 0.6365 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4815, allocations: 0 / 0.6365 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.549e-05/0.4816, allocations: 11.92 kB / 0.6365 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0162/0.4978, allocations: 5.678 MB / 0.642 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.4978, allocations: 4 kB / 0.642 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004358/0.4983, allocations: 75.91 kB / 0.6421 GB, free: 6.727 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006459/0.5047, allocations: 1.987 MB / 0.644 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/0.5049, allocations: 19.98 kB / 0.6441 GB, free: 4.715 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02219/0.5271, allocations: 9.437 MB / 0.6533 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5271, allocations: 0 / 0.6533 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01541/0.5425, allocations: 5.243 MB / 0.6584 GB, free: 5.859 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003638/0.5429, allocations: 199.5 kB / 0.6586 GB, free: 5.645 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.5431, allocations: 20 kB / 0.6586 GB, free: 5.625 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.5442, allocations: 103.9 kB / 0.6587 GB, free: 5.523 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006277/0.5448, allocations: 220.7 kB / 0.6589 GB, free: 5.309 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.691e-05/0.5449, allocations: 20 kB / 0.6589 GB, free: 5.289 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007568/0.5457, allocations: 0.583 MB / 0.6595 GB, free: 4.695 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5457, allocations: 0 / 0.6595 GB, free: 4.695 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001231/0.5469, allocations: 423.7 kB / 0.6599 GB, free: 4.281 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gENCLS.delta,gENCLS.eq,gENCLS.omega) * 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 (50): * Single equations (assignments): 49 * 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002246/0.5471, allocations: 129.8 kB / 0.66 GB, free: 4.145 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007007/0.5542, allocations: 2.412 MB / 0.6624 GB, free: 1.715 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5542, allocations: 0 / 0.6624 GB, free: 1.715 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005376/0.5596, allocations: 1.675 MB / 0.664 GB, free: 24 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.5606, allocations: 102.8 kB / 0.6641 GB, free: 15.92 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.5642, allocations: 1.891 MB / 0.666 GB, free: 14 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005811/0.5648, allocations: 1.053 MB / 0.667 GB, free: 12.93 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002566/0.565, allocations: 78.31 kB / 0.6671 GB, free: 12.85 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.5652, allocations: 59.42 kB / 0.6671 GB, free: 12.79 MB / 478.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5652, allocations: 0 / 0.6671 GB, free: 12.79 MB / 478.1 MB Notification: Performance of Templates: time 0.0384/0.6036, allocations: 26.54 MB / 0.693 GB, free: 2.25 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe 2>&1)