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.007283/0.007283, allocations: 103.7 kB / 15.73 MB, free: 6.051 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.436/1.436, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001447/0.001447, allocations: 184.5 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5205/0.5205, allocations: 91.9 MB / 431.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 76.42 kB / 0.5727 GB, free: 33.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1252, allocations: 71.28 MB / 0.6423 GB, free: 3.566 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant): time 0.007229/0.1324, allocations: 6.068 MB / 0.6483 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003663/0.1361, allocations: 1.786 MB / 0.65 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008202/0.137, allocations: 12 kB / 0.65 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006985/0.1377, allocations: 230.1 kB / 0.6502 GB, free: 11.44 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001657/0.1394, allocations: 0.5979 MB / 0.6508 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.1411, allocations: 0.7561 MB / 0.6516 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001484/0.1426, allocations: 1.366 MB / 0.6529 GB, free: 8.715 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004209/0.143, allocations: 287.3 kB / 0.6532 GB, free: 8.422 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006018/0.1436, allocations: 0.5524 MB / 0.6537 GB, free: 7.867 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007409/0.1444, allocations: 0.7001 MB / 0.6544 GB, free: 7.164 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.1446, allocations: 104 kB / 0.6545 GB, free: 7.062 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003816/0.1449, allocations: 215.9 kB / 0.6547 GB, free: 6.852 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.1452, allocations: 282.8 kB / 0.655 GB, free: 6.574 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000475/0.1457, allocations: 0.5904 MB / 0.6555 GB, free: 5.98 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.147, allocations: 1.448 MB / 0.6569 GB, free: 4.527 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1471, allocations: 0 / 0.6569 GB, free: 4.527 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1471, allocations: 0 / 0.6569 GB, free: 4.527 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.1471, allocations: 0 / 0.6569 GB, free: 4.527 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.008248/0.1553, allocations: 2.508 MB / 0.6594 GB, free: 1.965 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1554, allocations: 8.031 kB / 0.6594 GB, free: 1.957 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004418/0.1598, allocations: 0.6775 MB / 0.6601 GB, free: 1.277 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.1609, allocations: 0.74 MB / 0.6608 GB, free: 492 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003486/0.1613, allocations: 341.3 kB / 0.6611 GB, free: 96 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.1614, allocations: 72 kB / 0.6612 GB, free: 24 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/0.1638, allocations: 1.11 MB / 0.6623 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.1638, allocations: 0 / 0.6623 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.1639, allocations: 32 kB / 0.6623 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.1639, allocations: 16 kB / 0.6623 GB, free: 14.85 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002352/0.1663, allocations: 1.05 MB / 0.6633 GB, free: 13.8 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.005959/0.1722, allocations: 3.404 MB / 0.6667 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01696/0.1892, allocations: 3.953 MB / 0.6705 GB, free: 6.145 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/0.1909, allocations: 0.7274 MB / 0.6712 GB, free: 5.414 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.817e-05/0.191, allocations: 20.97 kB / 0.6713 GB, free: 5.395 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.191, allocations: 51.5 kB / 0.6713 GB, free: 5.332 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 2.825e-06/0.191, allocations: 0 / 0.6713 GB, free: 5.332 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.03656/0.2276, allocations: 8.454 MB / 0.6796 GB, free: 12.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.2277, allocations: 94.05 kB / 0.6796 GB, free: 12.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.2289, allocations: 0.849 MB / 0.6805 GB, free: 11.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.229, allocations: 41.7 kB / 0.6805 GB, free: 11.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/0.2293, allocations: 444.6 kB / 0.6809 GB, free: 11.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003017/0.2296, allocations: 315.4 kB / 0.6812 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003432/0.23, allocations: 158.5 kB / 0.6814 GB, free: 10.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.2301, allocations: 349.9 kB / 0.6817 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/0.2317, allocations: 0.6383 MB / 0.6824 GB, free: 9.914 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.2333, allocations: 0.7768 MB / 0.6831 GB, free: 9.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00315/0.2365, allocations: 1.434 MB / 0.6845 GB, free: 7.609 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2365, allocations: 0 / 0.6845 GB, free: 7.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01517/0.2517, allocations: 4.304 MB / 0.6887 GB, free: 3.293 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.2517, allocations: 4 kB / 0.6887 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.2517, allocations: 4.312 kB / 0.6887 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007364/0.2591, allocations: 2.088 MB / 0.6908 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006681/0.2598, allocations: 123.8 kB / 0.6909 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02828/0.2881, allocations: 10.64 MB / 0.7013 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.2895, allocations: 163 kB / 0.7014 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.474e-05/0.2896, allocations: 32 kB / 0.7015 GB, free: 6.094 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.0004109/0.2901, allocations: 222.8 kB / 0.7017 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/0.2903, allocations: 114.6 kB / 0.7018 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01467/0.3049, allocations: 4.267 MB / 0.7059 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.305, allocations: 15.98 kB / 0.706 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.305, allocations: 7.938 kB / 0.706 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/0.305, allocations: 11.91 kB / 0.706 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01612/0.3212, allocations: 5.659 MB / 0.7115 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.3212, allocations: 3.938 kB / 0.7115 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004235/0.3216, allocations: 87.83 kB / 0.7116 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006727/0.3284, allocations: 1.983 MB / 0.7135 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.678e-05/0.3285, allocations: 16 kB / 0.7135 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02458/0.353, allocations: 9.441 MB / 0.7228 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.3531, allocations: 0 / 0.7228 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.017/0.3701, allocations: 5.236 MB / 0.7279 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004006/0.3705, allocations: 207.5 kB / 0.7281 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002881/0.3708, allocations: 20 kB / 0.7281 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/0.3721, allocations: 103.9 kB / 0.7282 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007409/0.3728, allocations: 220.5 kB / 0.7284 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.122e-05/0.3729, allocations: 27.98 kB / 0.7284 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008258/0.3738, allocations: 0.5752 MB / 0.729 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3738, allocations: 8 kB / 0.729 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001394/0.3752, allocations: 419.7 kB / 0.7294 GB, free: 9.117 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.0002431/0.3754, allocations: 127.1 kB / 0.7295 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00763/0.3831, allocations: 2.42 MB / 0.7319 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3831, allocations: 0 / 0.7319 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00582/0.3889, allocations: 1.672 MB / 0.7335 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000793/0.3897, allocations: 88.44 kB / 0.7336 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003591/0.3933, allocations: 1.906 MB / 0.7355 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005591/0.3939, allocations: 1.053 MB / 0.7365 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002587/0.3942, allocations: 78.25 kB / 0.7366 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.3944, allocations: 63.42 kB / 0.7366 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/0.3944, allocations: 4 kB / 0.7366 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of Templates: time 0.03817/0.4325, allocations: 26.73 MB / 0.7627 GB, free: 6.859 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)