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/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/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.0009275/0.0009275, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007993/0.007993, allocations: 1.917 MB / 15.18 MB, free: 128 kB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.2 MB / 221.4 MB, free: 7.215 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.0007942/0.0007942, allocations: 81.91 kB / 270.1 MB, free: 7.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.654e-05/3.656e-05, allocations: 4 kB / 326 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2819, allocations: 48.07 MB / 374.1 MB, free: 44.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09193/0.3739, allocations: 74.85 MB / 448.9 MB, free: 4.008 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.3742, allocations: 63.97 kB / 449 MB, free: 3.945 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001884/0.3761, allocations: 0.6695 MB / 449.7 MB, free: 3.285 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3761, allocations: 0 / 449.7 MB, free: 3.285 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3761, allocations: 7.031 kB / 449.7 MB, free: 3.281 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.0003813/0.3765, allocations: 322.6 kB / 450 MB, free: 2.922 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.3766, allocations: 12.02 kB / 450 MB, free: 2.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.3766, allocations: 8.531 kB / 450 MB, free: 2.902 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.3767, allocations: 171 kB / 450.2 MB, free: 2.695 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.3768, allocations: 0.5625 kB / 450.2 MB, free: 2.695 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.3768, allocations: 7.953 kB / 450.2 MB, free: 2.688 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.3769, allocations: 41.62 kB / 450.2 MB, free: 2.641 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.3769, allocations: 0 / 450.2 MB, free: 2.641 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.377, allocations: 4 kB / 450.2 MB, free: 2.637 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.377, allocations: 0 / 450.2 MB, free: 2.637 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.862e-05/0.377, allocations: 11.09 kB / 450.2 MB, free: 2.629 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.3774, allocations: 264.9 kB / 450.5 MB, free: 2.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.3775, allocations: 46.5 kB / 450.5 MB, free: 2.266 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.73e-05/0.3776, allocations: 10.02 kB / 450.6 MB, free: 2.254 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.3776, allocations: 0 / 450.6 MB, free: 2.254 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.3777, allocations: 55.5 kB / 450.6 MB, free: 2.188 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3777, allocations: 4 kB / 450.6 MB, free: 2.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001622/0.3779, allocations: 57.67 kB / 450.7 MB, free: 2.121 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.3779, allocations: 51.41 kB / 450.7 MB, free: 2.059 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.424e-05/0.378, allocations: 104.9 kB / 450.8 MB, free: 1.949 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.378, allocations: 25.7 kB / 450.8 MB, free: 1.918 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.3781, allocations: 88.05 kB / 450.9 MB, free: 1.828 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.3781, allocations: 9.984 kB / 450.9 MB, free: 1.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-06/0.3781, allocations: 0 / 450.9 MB, free: 1.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3782, allocations: 322.8 kB / 451.3 MB, free: 1.496 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.3783, allocations: 4 kB / 451.3 MB, free: 1.492 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.478e-05/0.3783, allocations: 26.58 kB / 451.3 MB, free: 1.457 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.554e-05/0.3783, allocations: 8 kB / 451.3 MB, free: 1.449 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3784, allocations: 3.953 kB / 451.3 MB, free: 1.445 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.57e-05/0.3784, allocations: 53.62 kB / 451.4 MB, free: 1.387 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3785, allocations: 12.06 kB / 451.4 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3785, allocations: 0 / 451.4 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.3785, allocations: 0 / 451.4 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.405e-05/0.3786, allocations: 15.98 kB / 451.4 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.3786, allocations: 0 / 451.4 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.159e-05/0.3786, allocations: 11.84 kB / 451.4 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.3787, allocations: 4 kB / 451.4 MB, free: 1.344 MB / 330.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 () * 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.352e-05/0.3787, allocations: 105 kB / 451.5 MB, free: 1.234 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.3788, allocations: 15.94 kB / 451.5 MB, free: 1.219 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.3788, allocations: 6.031 kB / 451.5 MB, free: 1.211 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3788, allocations: 0 / 451.5 MB, free: 1.211 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3788, allocations: 3.938 kB / 451.5 MB, free: 1.207 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3788, allocations: 0 / 451.5 MB, free: 1.207 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.3789, allocations: 166 kB / 451.7 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.379, allocations: 0 / 451.7 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.528e-05/0.379, allocations: 15.95 kB / 451.7 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.379, allocations: 0 / 451.7 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.379, allocations: 4 kB / 451.7 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.379, allocations: 0 / 451.7 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.379, allocations: 4 kB / 451.7 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.3792, allocations: 83.64 kB / 451.8 MB, free: 0.875 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.3792, allocations: 88.95 kB / 451.9 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.3792, allocations: 3.953 kB / 451.9 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.223e-05/0.3793, allocations: 4 kB / 451.9 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.3793, allocations: 15.98 kB / 451.9 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.3793, allocations: 0 / 451.9 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.454e-05/0.3794, allocations: 79.28 kB / 452 MB, free: 0.668 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3794, allocations: 0 / 452 MB, free: 0.668 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001822/0.3796, allocations: 8 kB / 452 MB, free: 0.6602 MB / 330.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 () * 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 8.555e-05/0.3797, allocations: 91.25 kB / 452.1 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.153e-05/0.3798, allocations: 27.92 kB / 452.1 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3798, allocations: 0 / 452.1 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.554e-05/0.3798, allocations: 16.12 kB / 452.1 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.674e-05/0.3799, allocations: 4 kB / 452.1 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001867/0.3801, allocations: 70.64 kB / 452.2 MB, free: 436 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.3804, allocations: 0.6813 MB / 452.9 MB, free: 15.72 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.81e-05/0.3804, allocations: 3.984 kB / 452.9 MB, free: 15.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.3804, allocations: 15.38 kB / 452.9 MB, free: 15.7 MB / 346.7 MB Notification: Performance of SimCode: time 1.964e-06/0.3805, allocations: 0 / 452.9 MB, free: 15.7 MB / 346.7 MB Notification: Performance of Templates: time 0.00198/0.3825, allocations: 351.9 kB / 453.2 MB, free: 15.36 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)