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.0008971/0.0008971, allocations: 91.84 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.401/1.401, allocations: 223.3 MB / 239.4 MB, free: 5.527 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.001005/0.001005, allocations: 164.6 kB / 290.6 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.5434/0.5434, allocations: 91.92 MB / 433.6 MB, free: 10.3 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003623, allocations: 12 kB / 0.5048 GB, free: 7.305 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3464, allocations: 72.46 MB / 0.5755 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant): time 0.00495/0.3514, allocations: 5.982 MB / 0.5814 GB, free: 32.83 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003659/0.3551, allocations: 1.811 MB / 0.5831 GB, free: 31.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.3562, allocations: 16.22 kB / 0.5832 GB, free: 31.54 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008244/0.357, allocations: 185.8 kB / 0.5833 GB, free: 31.47 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001875/0.3589, allocations: 481.7 kB / 0.5838 GB, free: 31.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.3604, allocations: 0.7085 MB / 0.5845 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.3617, allocations: 1.297 MB / 0.5857 GB, free: 30.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003334/0.3621, allocations: 252.3 kB / 0.586 GB, free: 30.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004611/0.3626, allocations: 497.7 kB / 0.5865 GB, free: 29.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005639/0.3631, allocations: 0.6453 MB / 0.5871 GB, free: 29.49 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.3633, allocations: 64.53 kB / 0.5872 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003334/0.3636, allocations: 163 kB / 0.5873 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.3638, allocations: 229.5 kB / 0.5875 GB, free: 29.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.3641, allocations: 0.5638 MB / 0.5881 GB, free: 28.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.3652, allocations: 1.365 MB / 0.5894 GB, free: 28.42 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3652, allocations: 0 / 0.5894 GB, free: 28.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3652, allocations: 0 / 0.5894 GB, free: 28.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.816e-05/0.3652, allocations: 0 / 0.5894 GB, free: 28.42 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.007604/0.3728, allocations: 2.343 MB / 0.5917 GB, free: 27.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3729, allocations: 8.938 kB / 0.5917 GB, free: 27.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004274/0.3772, allocations: 0.6779 MB / 0.5924 GB, free: 27.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.3783, allocations: 0.7456 MB / 0.5931 GB, free: 26.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003094/0.3786, allocations: 353.5 kB / 0.5934 GB, free: 26.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.3788, allocations: 74.64 kB / 0.5935 GB, free: 26.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/0.3811, allocations: 1.19 MB / 0.5947 GB, free: 25.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.3812, allocations: 0 / 0.5947 GB, free: 25.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.834e-05/0.3813, allocations: 28.97 kB / 0.5947 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.3813, allocations: 16.78 kB / 0.5947 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002704/0.384, allocations: 1.143 MB / 0.5958 GB, free: 25.61 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.0061/0.3901, allocations: 3.508 MB / 0.5993 GB, free: 23.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0183/0.4085, allocations: 5.162 MB / 0.6043 GB, free: 22.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002133/0.4106, allocations: 0.8228 MB / 0.6051 GB, free: 22.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.4108, allocations: 12.45 kB / 0.6051 GB, free: 22.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.4108, allocations: 47.06 kB / 0.6052 GB, free: 22.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=88): time 3.286e-06/0.4108, allocations: 1.375 kB / 0.6052 GB, free: 22.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.04039/0.4512, allocations: 10.44 MB / 0.6154 GB, free: 20.13 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.4514, allocations: 90.75 kB / 0.6154 GB, free: 20.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.4528, allocations: 0.8468 MB / 0.6163 GB, free: 19.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003026/0.4531, allocations: 45.17 kB / 0.6163 GB, free: 19.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/0.4534, allocations: 458.3 kB / 0.6167 GB, free: 19.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003134/0.4538, allocations: 307.5 kB / 0.617 GB, free: 18.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.4539, allocations: 81.67 kB / 0.6171 GB, free: 18.67 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.454, allocations: 345.9 kB / 0.6175 GB, free: 18.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.4554, allocations: 0.7125 MB / 0.6181 GB, free: 17.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/0.4569, allocations: 0.8588 MB / 0.619 GB, free: 16.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002837/0.4597, allocations: 1.602 MB / 0.6205 GB, free: 15.06 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.4598, allocations: 0 / 0.6205 GB, free: 15.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01494/0.4747, allocations: 5.324 MB / 0.6257 GB, free: 9.723 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.4748, allocations: 4 kB / 0.6258 GB, free: 9.719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.4748, allocations: 4.312 kB / 0.6258 GB, free: 9.715 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007113/0.4819, allocations: 2.443 MB / 0.6281 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007177/0.4827, allocations: 131.8 kB / 0.6283 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02688/0.5096, allocations: 11.1 MB / 0.6391 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/0.5115, allocations: 203 kB / 0.6393 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/0.5117, allocations: 39.92 kB / 0.6393 GB, free: 11.66 MB / 446.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.0005859/0.5123, allocations: 229 kB / 0.6396 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/0.5126, allocations: 106.7 kB / 0.6397 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.017/0.5296, allocations: 5.302 MB / 0.6448 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.5297, allocations: 8 kB / 0.6448 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5297, allocations: 0 / 0.6448 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.977e-05/0.5297, allocations: 3.984 kB / 0.6449 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0196/0.5493, allocations: 6.71 MB / 0.6514 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-05/0.5494, allocations: 4 kB / 0.6514 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005595/0.55, allocations: 75.91 kB / 0.6515 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008194/0.5582, allocations: 2.343 MB / 0.6538 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003363/0.5586, allocations: 15.98 kB / 0.6538 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0253/0.5839, allocations: 9.763 MB / 0.6633 GB, free: 2.812 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.5839, allocations: 0 / 0.6633 GB, free: 2.812 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01884/0.6028, allocations: 6.344 MB / 0.6695 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004788/0.6033, allocations: 203.5 kB / 0.6697 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.6035, allocations: 23.88 kB / 0.6697 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.6047, allocations: 143.9 kB / 0.6699 GB, free: 12.06 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007003/0.6054, allocations: 212.6 kB / 0.6701 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.858e-05/0.6055, allocations: 27.98 kB / 0.6701 GB, free: 11.82 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007548/0.6062, allocations: 0.5752 MB / 0.6707 GB, free: 11.24 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6062, allocations: 4 kB / 0.6707 GB, free: 11.23 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001423/0.6077, allocations: 423.6 kB / 0.6711 GB, free: 10.82 MB / 478.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.0002333/0.6079, allocations: 127.1 kB / 0.6712 GB, free: 10.69 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008003/0.6159, allocations: 2.731 MB / 0.6739 GB, free: 7.938 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.616, allocations: 0 / 0.6739 GB, free: 7.938 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006141/0.6221, allocations: 1.916 MB / 0.6757 GB, free: 6.008 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.6232, allocations: 87.5 kB / 0.6758 GB, free: 5.922 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00387/0.6271, allocations: 2.351 MB / 0.6781 GB, free: 3.543 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006651/0.6278, allocations: 1.053 MB / 0.6791 GB, free: 2.465 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003292/0.6282, allocations: 86.3 kB / 0.6792 GB, free: 2.379 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.6283, allocations: 47.44 kB / 0.6793 GB, free: 2.332 MB / 478.1 MB Notification: Performance of SimCode: time 8.42e-07/0.6283, allocations: 4 kB / 0.6793 GB, free: 2.328 MB / 478.1 MB Notification: Performance of Templates: time 0.03905/0.6674, allocations: 23.39 MB / 0.7021 GB, free: 10.94 MB / 0.4981 GB 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe 2>&1)