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.001093/0.001093, allocations: 103.2 kB / 16.36 MB, free: 6.336 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.281/1.281, allocations: 222.9 MB / 240 MB, free: 4.602 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.001311/0.001311, allocations: 191.6 kB / 290.3 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5175/0.5175, allocations: 91.91 MB / 432.4 MB, free: 9.227 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 79.86 kB / 0.5033 GB, free: 7.027 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3255, allocations: 71.26 MB / 0.5729 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant): time 0.004822/0.3304, allocations: 6.073 MB / 0.5788 GB, free: 33.6 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.333, allocations: 1.783 MB / 0.5805 GB, free: 32.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003765/0.3334, allocations: 11.31 kB / 0.5805 GB, free: 32.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004192/0.3338, allocations: 233.1 kB / 0.5808 GB, free: 32.22 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009648/0.3348, allocations: 0.5418 MB / 0.5813 GB, free: 31.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.336, allocations: 0.7598 MB / 0.582 GB, free: 31.44 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001081/0.3371, allocations: 1.362 MB / 0.5834 GB, free: 30.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004281/0.3376, allocations: 290.9 kB / 0.5837 GB, free: 30.65 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006318/0.3382, allocations: 0.5508 MB / 0.5842 GB, free: 30.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006758/0.3389, allocations: 0.7034 MB / 0.5849 GB, free: 30.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.3391, allocations: 108.8 kB / 0.585 GB, free: 30.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.3394, allocations: 217.5 kB / 0.5852 GB, free: 30 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.3396, allocations: 278.1 kB / 0.5855 GB, free: 29.81 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003388/0.3399, allocations: 0.5908 MB / 0.586 GB, free: 29.42 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009768/0.3409, allocations: 1.449 MB / 0.5874 GB, free: 28.76 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3409, allocations: 0 / 0.5874 GB, free: 28.76 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3409, allocations: 0 / 0.5874 GB, free: 28.76 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.341, allocations: 2.812 kB / 0.5874 GB, free: 28.76 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.007377/0.3483, allocations: 2.509 MB / 0.5899 GB, free: 27.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3484, allocations: 8.344 kB / 0.5899 GB, free: 27.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004147/0.3526, allocations: 0.6711 MB / 0.5906 GB, free: 27.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.354, allocations: 0.743 MB / 0.5913 GB, free: 26.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003386/0.3544, allocations: 346.3 kB / 0.5916 GB, free: 26.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.3545, allocations: 70.69 kB / 0.5917 GB, free: 26.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.3566, allocations: 1.108 MB / 0.5928 GB, free: 26.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.3566, allocations: 1.406 kB / 0.5928 GB, free: 26.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.281e-05/0.3567, allocations: 29.03 kB / 0.5928 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.3567, allocations: 17.22 kB / 0.5928 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.3588, allocations: 1.055 MB / 0.5938 GB, free: 25.83 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.005559/0.3643, allocations: 3.406 MB / 0.5972 GB, free: 23.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01491/0.3792, allocations: 3.955 MB / 0.601 GB, free: 22.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001663/0.3809, allocations: 0.7333 MB / 0.6017 GB, free: 22.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000131/0.3811, allocations: 16.97 kB / 0.6018 GB, free: 22.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.3811, allocations: 48.69 kB / 0.6018 GB, free: 22.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=88): time 2.154e-06/0.3811, allocations: 0 / 0.6018 GB, free: 22.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.03327/0.4144, allocations: 8.46 MB / 0.6101 GB, free: 20.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.4145, allocations: 87.2 kB / 0.6102 GB, free: 20.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.4156, allocations: 0.8457 MB / 0.611 GB, free: 20.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001761/0.4157, allocations: 41.14 kB / 0.611 GB, free: 20.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.416, allocations: 449.5 kB / 0.6114 GB, free: 19.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.4162, allocations: 309.6 kB / 0.6117 GB, free: 19.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003098/0.4165, allocations: 158.4 kB / 0.6119 GB, free: 19.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.007e-05/0.4166, allocations: 349.5 kB / 0.6122 GB, free: 18.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/0.418, allocations: 0.6352 MB / 0.6128 GB, free: 18.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.4194, allocations: 0.7782 MB / 0.6136 GB, free: 18.17 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002525/0.4219, allocations: 1.434 MB / 0.615 GB, free: 17.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.4219, allocations: 1.219 kB / 0.615 GB, free: 17.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01243/0.4343, allocations: 4.303 MB / 0.6192 GB, free: 14.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.4344, allocations: 8 kB / 0.6192 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.4344, allocations: 4.312 kB / 0.6192 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00569/0.4401, allocations: 2.084 MB / 0.6213 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000584/0.4407, allocations: 123.8 kB / 0.6214 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02199/0.4627, allocations: 10.64 MB / 0.6318 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.4642, allocations: 155.1 kB / 0.6319 GB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.849e-05/0.4643, allocations: 35.94 kB / 0.632 GB, free: 1.309 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.0003713/0.4646, allocations: 231.6 kB / 0.6322 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.4648, allocations: 114.6 kB / 0.6323 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/0.4777, allocations: 4.263 MB / 0.6364 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.4777, allocations: 12 kB / 0.6365 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4777, allocations: 3.984 kB / 0.6365 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.942e-05/0.4777, allocations: 7.922 kB / 0.6365 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01563/0.4934, allocations: 5.663 MB / 0.642 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.4934, allocations: 3.984 kB / 0.642 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004102/0.4938, allocations: 83.91 kB / 0.6421 GB, free: 6.785 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006071/0.4999, allocations: 1.987 MB / 0.644 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.5, allocations: 16 kB / 0.644 GB, free: 4.777 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02198/0.522, allocations: 9.453 MB / 0.6533 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5221, allocations: 0 / 0.6533 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0152/0.5373, allocations: 5.232 MB / 0.6584 GB, free: 5.918 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004276/0.5377, allocations: 199.5 kB / 0.6586 GB, free: 5.703 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.5379, allocations: 16 kB / 0.6586 GB, free: 5.688 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.539, allocations: 103.9 kB / 0.6587 GB, free: 5.586 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006753/0.5396, allocations: 224.6 kB / 0.6589 GB, free: 5.367 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.539e-05/0.5397, allocations: 27.98 kB / 0.6589 GB, free: 5.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006941/0.5404, allocations: 0.583 MB / 0.6595 GB, free: 4.746 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5404, allocations: 0 / 0.6595 GB, free: 4.746 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001171/0.5416, allocations: 415.7 kB / 0.6599 GB, free: 4.34 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.0002105/0.5418, allocations: 135 kB / 0.66 GB, free: 4.195 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006882/0.5487, allocations: 2.419 MB / 0.6624 GB, free: 1.762 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5487, allocations: 0 / 0.6624 GB, free: 1.762 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005131/0.5539, allocations: 1.672 MB / 0.664 GB, free: 76 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008894/0.5548, allocations: 87.67 kB / 0.6641 GB, free: 15.98 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/0.5582, allocations: 1.893 MB / 0.6659 GB, free: 14.07 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/0.5588, allocations: 1.053 MB / 0.667 GB, free: 12.99 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002484/0.559, allocations: 78.3 kB / 0.667 GB, free: 12.91 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.5592, allocations: 71.42 kB / 0.6671 GB, free: 12.84 MB / 478.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5592, allocations: 3.938 kB / 0.6671 GB, free: 12.84 MB / 478.1 MB Notification: Performance of Templates: time 0.03673/0.5959, allocations: 26.53 MB / 0.693 GB, free: 2.301 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 cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe 2>&1)