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.001235/0.001235, allocations: 104.2 kB / 16.4 MB, free: 6.465 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.363/1.363, allocations: 222.9 MB / 240.1 MB, free: 4.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.001474/0.001474, allocations: 192.5 kB / 290.4 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5149/0.5149, allocations: 91.9 MB / 432.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 79.44 kB / 0.5734 GB, free: 33.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1343, allocations: 71.29 MB / 0.643 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant): time 0.00673/0.141, allocations: 6.073 MB / 0.6489 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003819/0.1449, allocations: 1.774 MB / 0.6507 GB, free: 11.74 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007644/0.1457, allocations: 12 kB / 0.6507 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006228/0.1463, allocations: 230.1 kB / 0.6509 GB, free: 11.5 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001507/0.1479, allocations: 0.5471 MB / 0.6514 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.1497, allocations: 0.7635 MB / 0.6522 GB, free: 10.19 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001781/0.1515, allocations: 1.358 MB / 0.6535 GB, free: 8.828 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004388/0.152, allocations: 295.3 kB / 0.6538 GB, free: 8.527 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006705/0.1526, allocations: 0.5446 MB / 0.6543 GB, free: 7.98 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007876/0.1534, allocations: 0.7001 MB / 0.655 GB, free: 7.277 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001625/0.1536, allocations: 108 kB / 0.6551 GB, free: 7.172 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004328/0.154, allocations: 219.9 kB / 0.6553 GB, free: 6.957 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002297/0.1543, allocations: 282.8 kB / 0.6556 GB, free: 6.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004946/0.1548, allocations: 0.5865 MB / 0.6561 GB, free: 6.09 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.1562, allocations: 1.452 MB / 0.6576 GB, free: 4.633 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1563, allocations: 0 / 0.6576 GB, free: 4.633 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1563, allocations: 4 kB / 0.6576 GB, free: 4.629 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.41e-05/0.1563, allocations: 0 / 0.6576 GB, free: 4.629 MB / 462.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.008215/0.1645, allocations: 2.497 MB / 0.66 GB, free: 2.078 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1646, allocations: 12.03 kB / 0.66 GB, free: 2.066 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004327/0.1689, allocations: 0.6736 MB / 0.6607 GB, free: 1.391 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.1702, allocations: 0.7439 MB / 0.6614 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004062/0.1706, allocations: 337.3 kB / 0.6617 GB, free: 212 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002114/0.1708, allocations: 68 kB / 0.6618 GB, free: 144 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/0.1731, allocations: 1.118 MB / 0.6629 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.1731, allocations: 8 kB / 0.6629 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.224e-05/0.1732, allocations: 24 kB / 0.6629 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.1733, allocations: 20 kB / 0.6629 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/0.1756, allocations: 1.042 MB / 0.6639 GB, free: 13.91 MB / 478.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.006317/0.1819, allocations: 3.42 MB / 0.6673 GB, free: 10.33 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01578/0.1977, allocations: 3.944 MB / 0.6711 GB, free: 6.254 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001746/0.1995, allocations: 0.7313 MB / 0.6719 GB, free: 5.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.1997, allocations: 9 kB / 0.6719 GB, free: 5.512 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.1998, allocations: 51.48 kB / 0.6719 GB, free: 5.449 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 3.056e-06/0.1998, allocations: 0 / 0.6719 GB, free: 5.449 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.03542/0.2353, allocations: 8.458 MB / 0.6802 GB, free: 12.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.2353, allocations: 98.03 kB / 0.6803 GB, free: 12.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.2365, allocations: 0.849 MB / 0.6811 GB, free: 11.97 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002122/0.2367, allocations: 41.7 kB / 0.6811 GB, free: 11.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/0.2371, allocations: 448.6 kB / 0.6816 GB, free: 11.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003817/0.2375, allocations: 311.5 kB / 0.6819 GB, free: 11.17 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003298/0.2378, allocations: 158.6 kB / 0.682 GB, free: 11.01 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.238, allocations: 345.9 kB / 0.6823 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.2394, allocations: 0.6383 MB / 0.683 GB, free: 10.03 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.2409, allocations: 0.7785 MB / 0.6837 GB, free: 9.203 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00285/0.2437, allocations: 1.43 MB / 0.6851 GB, free: 7.727 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.2438, allocations: 4 kB / 0.6851 GB, free: 7.723 MB / 494.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01424/0.258, allocations: 4.304 MB / 0.6893 GB, free: 3.406 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.2581, allocations: 8 kB / 0.6893 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.2581, allocations: 4 kB / 0.6893 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006914/0.265, allocations: 2.088 MB / 0.6914 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006725/0.2657, allocations: 131.8 kB / 0.6915 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02693/0.2927, allocations: 10.63 MB / 0.7019 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.2941, allocations: 159.1 kB / 0.702 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.2943, allocations: 35.98 kB / 0.7021 GB, free: 6.199 MB / 0.4981 GB 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.0004303/0.2947, allocations: 230.7 kB / 0.7023 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002362/0.295, allocations: 110.6 kB / 0.7024 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.014/0.309, allocations: 4.27 MB / 0.7066 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.309, allocations: 8 kB / 0.7066 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.309, allocations: 0 / 0.7066 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.312e-05/0.3091, allocations: 11.92 kB / 0.7066 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01604/0.3251, allocations: 5.67 MB / 0.7121 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.818e-05/0.3252, allocations: 4 kB / 0.7121 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004692/0.3257, allocations: 75.89 kB / 0.7122 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006646/0.3323, allocations: 1.991 MB / 0.7141 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001496/0.3325, allocations: 19.98 kB / 0.7142 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0235/0.356, allocations: 9.433 MB / 0.7234 GB, free: 84 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.361e-06/0.3561, allocations: 7.922 kB / 0.7234 GB, free: 76 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01623/0.3723, allocations: 5.24 MB / 0.7285 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004443/0.3728, allocations: 203.5 kB / 0.7287 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/0.373, allocations: 12 kB / 0.7287 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.3741, allocations: 103.9 kB / 0.7288 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007373/0.3749, allocations: 228.5 kB / 0.729 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.936e-05/0.3749, allocations: 27.98 kB / 0.729 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007854/0.3757, allocations: 0.5791 MB / 0.7296 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3757, allocations: 0 / 0.7296 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001315/0.3771, allocations: 427.6 kB / 0.73 GB, free: 9.215 MB / 0.5294 GB 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.0002408/0.3773, allocations: 123.1 kB / 0.7301 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007331/0.3846, allocations: 2.412 MB / 0.7325 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3847, allocations: 0 / 0.7325 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005432/0.3901, allocations: 1.668 MB / 0.7341 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008894/0.391, allocations: 96.11 kB / 0.7342 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/0.3948, allocations: 1.943 MB / 0.7361 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006268/0.3954, allocations: 1.056 MB / 0.7371 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.3957, allocations: 63.42 kB / 0.7372 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of SimCode: time 7.41e-07/0.3957, allocations: 0 / 0.7372 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of Templates: time 0.02365/0.4193, allocations: 18.93 MB / 0.7557 GB, free: 14.8 MB / 0.5606 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)