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.00701/0.00701, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009366/0.009366, allocations: 1.933 MB / 17.79 MB, free: 4.168 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.37/1.37, allocations: 205.4 MB / 224.4 MB, free: 11.91 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.0009053/0.0009053, allocations: 90.23 kB / 273.3 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003724, allocations: 8 kB / 331.8 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.107, allocations: 48.1 MB / 379.9 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3377/0.4448, allocations: 74.94 MB / 454.9 MB, free: 12.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.4451, allocations: 59.97 kB / 454.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00187/0.447, allocations: 0.6692 MB / 455.6 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.447, allocations: 0 / 455.6 MB, free: 11.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.447, allocations: 0 / 455.6 MB, free: 11.88 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.0003826/0.4474, allocations: 345.1 kB / 455.9 MB, free: 11.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.4475, allocations: 8.031 kB / 455.9 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.4475, allocations: 0 / 455.9 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.4477, allocations: 178.9 kB / 456.1 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.4477, allocations: 0 / 456.1 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.4477, allocations: 7.953 kB / 456.1 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.4479, allocations: 45.69 kB / 456.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.4479, allocations: 0 / 456.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.4479, allocations: 1.5 kB / 456.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.4479, allocations: 7.984 kB / 456.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.4481, allocations: 39.97 kB / 456.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.4484, allocations: 256.9 kB / 456.5 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.4486, allocations: 70.52 kB / 456.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.4487, allocations: 0 / 456.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.4489, allocations: 71.45 kB / 456.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.4489, allocations: 4 kB / 456.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003289/0.4492, allocations: 105.6 kB / 456.7 MB, free: 10.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.4493, allocations: 51.41 kB / 456.8 MB, free: 10.53 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.392e-05/0.4494, allocations: 101 kB / 456.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.4494, allocations: 25.7 kB / 456.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.638e-05/0.4495, allocations: 84.12 kB / 457 MB, free: 10.31 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.4495, allocations: 11.91 kB / 457 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-06/0.4495, allocations: 0 / 457 MB, free: 10.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4497, allocations: 314.7 kB / 457.3 MB, free: 9.984 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.143e-05/0.4497, allocations: 19.98 kB / 457.3 MB, free: 9.965 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.39e-05/0.4498, allocations: 43.38 kB / 457.4 MB, free: 9.914 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.184e-05/0.4499, allocations: 19.98 kB / 457.4 MB, free: 9.895 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4499, allocations: 0 / 457.4 MB, free: 9.895 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001699/0.4501, allocations: 94.11 kB / 457.5 MB, free: 9.797 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.4501, allocations: 8 kB / 457.5 MB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4501, allocations: 3.938 kB / 457.5 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.4501, allocations: 0 / 457.5 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.218e-05/0.4502, allocations: 8 kB / 457.5 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.4502, allocations: 4 kB / 457.5 MB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.838e-05/0.4503, allocations: 12.05 kB / 457.5 MB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.4503, allocations: 12.81 kB / 457.5 MB, free: 9.75 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 () * 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 7.399e-05/0.4504, allocations: 109.8 kB / 457.6 MB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.4504, allocations: 7.953 kB / 457.6 MB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.4504, allocations: 7.5 kB / 457.6 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.4504, allocations: 0 / 457.6 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4504, allocations: 0 / 457.6 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4504, allocations: 3.984 kB / 457.6 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.4506, allocations: 161.7 kB / 457.8 MB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4506, allocations: 0 / 457.8 MB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.721e-05/0.4506, allocations: 12.86 kB / 457.8 MB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4506, allocations: 3.953 kB / 457.8 MB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.4507, allocations: 0 / 457.8 MB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4507, allocations: 0 / 457.8 MB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4507, allocations: 7.938 kB / 457.8 MB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.4509, allocations: 117.2 kB / 457.9 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.859e-05/0.4509, allocations: 77.11 kB / 458 MB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.4509, allocations: 4.328 kB / 458 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.348e-05/0.451, allocations: 11.98 kB / 458 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.451, allocations: 4 kB / 458 MB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.451, allocations: 0 / 458 MB, free: 9.133 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.059e-05/0.4511, allocations: 87.28 kB / 458.1 MB, free: 9.047 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4511, allocations: 0 / 458.1 MB, free: 9.047 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001757/0.4513, allocations: 8 kB / 458.1 MB, free: 9.039 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 () * 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 8.786e-05/0.4514, allocations: 95.06 kB / 458.2 MB, free: 8.941 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.4516, allocations: 55.97 kB / 458.3 MB, free: 8.887 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4516, allocations: 0 / 458.3 MB, free: 8.887 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.309e-05/0.4517, allocations: 27.98 kB / 458.3 MB, free: 8.859 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.965e-05/0.4518, allocations: 2.297 kB / 458.3 MB, free: 8.859 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/0.4521, allocations: 117.1 kB / 458.4 MB, free: 8.719 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.4523, allocations: 0.6849 MB / 459.1 MB, free: 8.008 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.682e-05/0.4523, allocations: 3.984 kB / 459.1 MB, free: 8.004 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.241e-05/0.4524, allocations: 7.438 kB / 459.1 MB, free: 7.996 MB / 330.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4524, allocations: 4 kB / 459.1 MB, free: 7.992 MB / 330.7 MB Notification: Performance of Templates: time 0.002021/0.4544, allocations: 345.8 kB / 459.5 MB, free: 7.656 MB / 330.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)