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.0009376/0.0009378, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.3 MB / 240 MB, free: 5.352 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.001051/0.001052, allocations: 184.5 kB / 291.3 MB, free: 2.027 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5131/0.5131, allocations: 91.93 MB / 434.3 MB, free: 10.28 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000367/0.0003671, allocations: 8 kB / 0.5054 GB, free: 7.266 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3891, allocations: 72.48 MB / 0.5762 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant): time 0.004781/0.3939, allocations: 5.987 MB / 0.582 GB, free: 32.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003412/0.3974, allocations: 1.803 MB / 0.5838 GB, free: 31.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005882/0.398, allocations: 11.72 kB / 0.5838 GB, free: 31.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005329/0.3985, allocations: 190.6 kB / 0.584 GB, free: 31.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.3998, allocations: 480.3 kB / 0.5844 GB, free: 30.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.4012, allocations: 0.7142 MB / 0.5851 GB, free: 30.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001296/0.4025, allocations: 1.293 MB / 0.5864 GB, free: 29.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003808/0.4029, allocations: 258.1 kB / 0.5867 GB, free: 29.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005147/0.4034, allocations: 494.9 kB / 0.5871 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005796/0.404, allocations: 0.6488 MB / 0.5878 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.4041, allocations: 57.47 kB / 0.5878 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003506/0.4045, allocations: 167.1 kB / 0.588 GB, free: 29.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.4047, allocations: 222.6 kB / 0.5882 GB, free: 29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000361/0.405, allocations: 0.5632 MB / 0.5887 GB, free: 28.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007442/0.4058, allocations: 1.067 MB / 0.5898 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.4058, allocations: 3.938 kB / 0.5898 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4058, allocations: 6.625 kB / 0.5898 GB, free: 28.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.4058, allocations: 0 / 0.5898 GB, free: 28.28 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.007547/0.4134, allocations: 2.334 MB / 0.5921 GB, free: 27.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.4134, allocations: 9.75 kB / 0.5921 GB, free: 27.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004411/0.4179, allocations: 0.6772 MB / 0.5927 GB, free: 27.17 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.4191, allocations: 0.7428 MB / 0.5935 GB, free: 26.63 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003402/0.4195, allocations: 362.3 kB / 0.5938 GB, free: 26.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.4196, allocations: 70.22 kB / 0.5939 GB, free: 26.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/0.4221, allocations: 1.193 MB / 0.595 GB, free: 25.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.4221, allocations: 0 / 0.595 GB, free: 25.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.456e-05/0.4222, allocations: 26 kB / 0.5951 GB, free: 25.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.4223, allocations: 17.16 kB / 0.5951 GB, free: 25.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002481/0.4247, allocations: 1.142 MB / 0.5962 GB, free: 25.48 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.006531/0.4313, allocations: 3.504 MB / 0.5996 GB, free: 23.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0193/0.4506, allocations: 5.179 MB / 0.6047 GB, free: 22.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001978/0.4526, allocations: 0.814 MB / 0.6055 GB, free: 21.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.4528, allocations: 12.22 kB / 0.6055 GB, free: 21.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.4528, allocations: 43.69 kB / 0.6055 GB, free: 21.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=88): time 3.116e-06/0.4528, allocations: 0 / 0.6055 GB, free: 21.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.04219/0.495, allocations: 10.45 MB / 0.6157 GB, free: 20.06 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.4951, allocations: 86.83 kB / 0.6158 GB, free: 19.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.4964, allocations: 0.8464 MB / 0.6166 GB, free: 19.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002504/0.4967, allocations: 40.89 kB / 0.6167 GB, free: 19.44 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.497, allocations: 458 kB / 0.6171 GB, free: 19.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003075/0.4973, allocations: 305.4 kB / 0.6174 GB, free: 18.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.4974, allocations: 85.78 kB / 0.6175 GB, free: 18.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.543e-05/0.4975, allocations: 337.9 kB / 0.6178 GB, free: 18.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.499, allocations: 0.7225 MB / 0.6185 GB, free: 17.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001504/0.5005, allocations: 0.8627 MB / 0.6194 GB, free: 16.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002903/0.5034, allocations: 1.598 MB / 0.6209 GB, free: 15.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.5035, allocations: 0 / 0.6209 GB, free: 15.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01553/0.519, allocations: 5.328 MB / 0.6261 GB, free: 9.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.5191, allocations: 8 kB / 0.6261 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.5191, allocations: 0 / 0.6261 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007341/0.5264, allocations: 2.44 MB / 0.6285 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007134/0.5272, allocations: 123.8 kB / 0.6286 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02702/0.5542, allocations: 11.11 MB / 0.6395 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.5561, allocations: 207 kB / 0.6397 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.5562, allocations: 35.94 kB / 0.6397 GB, free: 11.79 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.0005006/0.5567, allocations: 230.5 kB / 0.6399 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.557, allocations: 106.7 kB / 0.64 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01735/0.5743, allocations: 5.29 MB / 0.6452 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/0.5744, allocations: 8 kB / 0.6452 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5744, allocations: 3.938 kB / 0.6452 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.41e-05/0.5744, allocations: 3.984 kB / 0.6452 GB, free: 6.109 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01991/0.5944, allocations: 6.718 MB / 0.6518 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/0.5944, allocations: 0 / 0.6518 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/0.595, allocations: 79.89 kB / 0.6518 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007966/0.603, allocations: 2.335 MB / 0.6541 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002096/0.6033, allocations: 16 kB / 0.6541 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02654/0.6298, allocations: 9.77 MB / 0.6637 GB, free: 2.934 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.6299, allocations: 0 / 0.6637 GB, free: 2.934 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01963/0.6495, allocations: 6.341 MB / 0.6699 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004987/0.65, allocations: 199.5 kB / 0.6701 GB, free: 12.35 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/0.6503, allocations: 23.94 kB / 0.6701 GB, free: 12.33 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.6516, allocations: 143.9 kB / 0.6702 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007262/0.6523, allocations: 216.6 kB / 0.6704 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.236e-05/0.6524, allocations: 27.94 kB / 0.6705 GB, free: 11.95 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000827/0.6532, allocations: 0.5791 MB / 0.671 GB, free: 11.36 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6532, allocations: 0 / 0.671 GB, free: 11.36 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001466/0.6547, allocations: 423.6 kB / 0.6714 GB, free: 10.95 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.0002714/0.655, allocations: 127.1 kB / 0.6715 GB, free: 10.81 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008478/0.6635, allocations: 2.735 MB / 0.6742 GB, free: 8.059 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.6635, allocations: 0 / 0.6742 GB, free: 8.059 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006493/0.67, allocations: 1.916 MB / 0.6761 GB, free: 6.129 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.6713, allocations: 87.44 kB / 0.6762 GB, free: 6.043 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/0.6753, allocations: 2.377 MB / 0.6785 GB, free: 3.629 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006125/0.6759, allocations: 1.053 MB / 0.6795 GB, free: 2.551 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/0.6762, allocations: 59.42 kB / 0.6796 GB, free: 2.492 MB / 478.1 MB Notification: Performance of SimCode: time 2.124e-06/0.6762, allocations: 0 / 0.6796 GB, free: 2.492 MB / 478.1 MB Notification: Performance of Templates: time 0.02645/0.7027, allocations: 18.74 MB / 0.6979 GB, free: 15.73 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)