Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestDutyCycleGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(MEV.Test.TestDutyCycleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestDutyCycleGenerator") translateModel(MEV.Test.TestDutyCycleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestDutyCycleGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009015/0.0009015, allocations: 178 kB / 16.12 MB, free: 5.574 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.007086/0.007086, allocations: 1.918 MB / 18.79 MB, free: 2.914 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.283/1.283, allocations: 205.4 MB / 225.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007235/0.0007238, allocations: 86.3 kB / 274.3 MB, free: 5.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.0004779, allocations: 12 kB / 333.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2554, allocations: 48.08 MB / 381.1 MB, free: 44.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1061/0.3615, allocations: 74.97 MB / 456.1 MB, free: 2.676 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001702/0.3617, allocations: 63.97 kB / 456.2 MB, free: 2.613 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001571/0.3633, allocations: 0.6844 MB / 456.8 MB, free: 1.934 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3633, allocations: 0 / 456.8 MB, free: 1.934 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.3634, allocations: 4 kB / 456.9 MB, free: 1.93 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003206/0.3637, allocations: 335.5 kB / 457.2 MB, free: 1.551 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.3637, allocations: 8.031 kB / 457.2 MB, free: 1.543 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.3638, allocations: 0.9375 kB / 457.2 MB, free: 1.543 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.024e-05/0.3638, allocations: 176.2 kB / 457.4 MB, free: 1.332 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.3639, allocations: 4.375 kB / 457.4 MB, free: 1.328 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.3639, allocations: 8.312 kB / 457.4 MB, free: 1.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.364, allocations: 50.23 kB / 457.4 MB, free: 1.266 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.364, allocations: 192 / 457.4 MB, free: 1.266 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3641, allocations: 7.938 kB / 457.4 MB, free: 1.258 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3641, allocations: 0 / 457.4 MB, free: 1.258 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.3642, allocations: 39.97 kB / 457.5 MB, free: 1.219 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/0.3645, allocations: 252.9 kB / 457.7 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.3647, allocations: 74.42 kB / 457.8 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.289e-05/0.3648, allocations: 29 kB / 457.8 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.3648, allocations: 0 / 457.8 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.365, allocations: 67.39 kB / 457.9 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.365, allocations: 4 kB / 457.9 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002727/0.3652, allocations: 105.6 kB / 458 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.3653, allocations: 55.41 kB / 458 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.697e-05/0.3654, allocations: 101.8 kB / 458.1 MB, free: 452 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.3654, allocations: 29.7 kB / 458.2 MB, free: 416 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.3654, allocations: 84.14 kB / 458.3 MB, free: 328 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.3654, allocations: 7.812 kB / 458.3 MB, free: 320 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-06/0.3655, allocations: 4 kB / 458.3 MB, free: 316 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.727e-05/0.3656, allocations: 314.8 kB / 458.6 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.895e-05/0.3656, allocations: 23.98 kB / 458.6 MB, free: 15.97 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.291e-05/0.3657, allocations: 38.55 kB / 458.6 MB, free: 15.92 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.3658, allocations: 62.44 kB / 458.7 MB, free: 15.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3658, allocations: 7.938 kB / 458.7 MB, free: 15.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001648/0.366, allocations: 81.59 kB / 458.8 MB, free: 15.76 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.366, allocations: 12.06 kB / 458.8 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.366, allocations: 384 / 458.8 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.366, allocations: 0 / 458.8 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.501e-05/0.3661, allocations: 15.98 kB / 458.8 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3661, allocations: 0 / 458.8 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.904e-05/0.3662, allocations: 8 kB / 458.8 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.3662, allocations: 7.938 kB / 458.8 MB, free: 15.71 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.dutyCycleGenerator.offTime,dutyCycleGenerator.offTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.819e-05/0.3663, allocations: 117.7 kB / 458.9 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.3663, allocations: 8 kB / 458.9 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.3663, allocations: 7.484 kB / 459 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3663, allocations: 3.938 kB / 459 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3663, allocations: 0 / 459 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3663, allocations: 4 kB / 459 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.3665, allocations: 165.5 kB / 459.1 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3665, allocations: 0 / 459.1 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.455e-05/0.3665, allocations: 11.98 kB / 459.1 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3665, allocations: 0 / 459.1 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.3665, allocations: 4 kB / 459.1 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.3666, allocations: 4 kB / 459.1 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3666, allocations: 3.984 kB / 459.1 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.3667, allocations: 109 kB / 459.3 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/0.3668, allocations: 81.11 kB / 459.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.3668, allocations: 0 / 459.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.305e-05/0.3669, allocations: 15.98 kB / 459.4 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.3669, allocations: 0 / 459.4 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.3669, allocations: 0 / 459.4 MB, free: 15.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.053e-05/0.3669, allocations: 83.27 kB / 459.4 MB, free: 15.01 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3669, allocations: 0 / 459.4 MB, free: 15.01 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000181/0.3671, allocations: 12 kB / 459.4 MB, free: 15 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,dutyCycleGenerator.offTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.482e-05/0.3672, allocations: 91.25 kB / 459.5 MB, free: 14.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001585/0.3674, allocations: 52.19 kB / 459.6 MB, free: 14.84 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3674, allocations: 0 / 459.6 MB, free: 14.84 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.112e-05/0.3675, allocations: 24.11 kB / 459.6 MB, free: 14.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.3676, allocations: 11.88 kB / 459.6 MB, free: 14.81 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000256/0.3679, allocations: 124.8 kB / 459.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.3681, allocations: 0.6809 MB / 460.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.828e-05/0.3681, allocations: 7.922 kB / 460.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.092e-05/0.3681, allocations: 11.44 kB / 460.4 MB, free: 13.94 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3681, allocations: 4 kB / 460.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of Templates: time 0.001851/0.37, allocations: 340.5 kB / 460.8 MB, free: 13.6 MB / 346.7 MB make -j1 -f MEV_MEV.Test.TestDutyCycleGenerator.makefile (rm -f MEV_MEV.Test.TestDutyCycleGenerator.pipe ; mkfifo MEV_MEV.Test.TestDutyCycleGenerator.pipe ; head -c 1048576 < MEV_MEV.Test.TestDutyCycleGenerator.pipe >> ../files/MEV_MEV.Test.TestDutyCycleGenerator.sim & ./MEV_MEV.Test.TestDutyCycleGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestDutyCycleGenerator.pipe 2>&1)