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/ModelicaServices 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/Modelica 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) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 104.8 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 191 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.114/1.114, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008083/0.008083, allocations: 1.935 MB / 272.5 MB, free: 10.07 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 73.94 kB / 378.9 MB, free: 51.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05941/0.06078, allocations: 47.13 MB / 426 MB, free: 19.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.001888/0.0627, allocations: 1.386 MB / 427.4 MB, free: 18.58 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002205/0.06294, allocations: 99.73 kB / 427.5 MB, free: 18.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.667e-05/0.06298, allocations: 0 / 427.5 MB, free: 18.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.309e-05/0.06301, allocations: 3.938 kB / 427.5 MB, free: 18.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.473e-05/0.06307, allocations: 11.88 kB / 427.5 MB, free: 18.47 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.06321, allocations: 11.98 kB / 427.5 MB, free: 18.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.969e-05/0.06328, allocations: 23.92 kB / 427.6 MB, free: 18.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.062e-05/0.06338, allocations: 4 kB / 427.6 MB, free: 18.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.754e-05/0.06341, allocations: 15.92 kB / 427.6 MB, free: 18.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.379e-05/0.06346, allocations: 8 kB / 427.6 MB, free: 18.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.06348, allocations: 4 kB / 427.6 MB, free: 18.4 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-06/0.0635, allocations: 0 / 427.6 MB, free: 18.4 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.06352, allocations: 11.91 kB / 427.6 MB, free: 18.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.06355, allocations: 15.94 kB / 427.6 MB, free: 18.38 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.59e-05/0.06362, allocations: 24.47 kB / 427.7 MB, free: 18.35 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.06363, allocations: 4 kB / 427.7 MB, free: 18.35 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.06364, allocations: 0 / 427.7 MB, free: 18.35 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.06365, allocations: 0 / 427.7 MB, free: 18.35 MB / 318.1 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.0003572/0.06401, allocations: 347.3 kB / 428 MB, free: 17.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.702e-05/0.06404, allocations: 11.89 kB / 428 MB, free: 17.95 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.06408, allocations: 4.938 kB / 428 MB, free: 17.94 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.547e-05/0.06415, allocations: 164.4 kB / 428.2 MB, free: 17.74 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.06417, allocations: 384 / 428.2 MB, free: 17.74 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.06419, allocations: 4.375 kB / 428.2 MB, free: 17.74 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.06431, allocations: 50.23 kB / 428.2 MB, free: 17.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.06432, allocations: 192 / 428.2 MB, free: 17.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.06433, allocations: 3.938 kB / 428.2 MB, free: 17.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.06434, allocations: 0 / 428.2 MB, free: 17.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.06445, allocations: 27.97 kB / 428.3 MB, free: 17.65 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.06469, allocations: 260.8 kB / 428.5 MB, free: 17.35 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.06485, allocations: 58.55 kB / 428.6 MB, free: 17.28 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.573e-05/0.06491, allocations: 20.94 kB / 428.6 MB, free: 17.26 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.06493, allocations: 0 / 428.6 MB, free: 17.26 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.06508, allocations: 71.33 kB / 428.7 MB, free: 17.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.06509, allocations: 0 / 428.7 MB, free: 17.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002471/0.06535, allocations: 85.64 kB / 428.7 MB, free: 17.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.06538, allocations: 55.41 kB / 428.8 MB, free: 17.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.01e-05/0.06543, allocations: 101.8 kB / 428.9 MB, free: 16.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.06544, allocations: 29.7 kB / 428.9 MB, free: 16.88 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.008e-05/0.06546, allocations: 96.06 kB / 429 MB, free: 16.78 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.06548, allocations: 3.906 kB / 429 MB, free: 16.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.06551, allocations: 17.72 kB / 429 MB, free: 16.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.355e-05/0.06555, allocations: 314.8 kB / 429.3 MB, free: 16.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.37e-05/0.06561, allocations: 19.98 kB / 429.4 MB, free: 16.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.299e-05/0.06567, allocations: 42.81 kB / 429.4 MB, free: 16.36 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.622e-05/0.06577, allocations: 50.72 kB / 429.5 MB, free: 16.3 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.06578, allocations: 11.88 kB / 429.5 MB, free: 16.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001341/0.06592, allocations: 81.58 kB / 429.5 MB, free: 16.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.06594, allocations: 8.938 kB / 429.6 MB, free: 16.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.06595, allocations: 0 / 429.6 MB, free: 16.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.06596, allocations: 0 / 429.6 MB, free: 16.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.06603, allocations: 15.92 kB / 429.6 MB, free: 16.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.06604, allocations: 4 kB / 429.6 MB, free: 16.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.263e-05/0.06608, allocations: 4 kB / 429.6 MB, free: 16.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.06609, allocations: 0 / 429.6 MB, free: 16.18 MB / 318.1 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,dutyCycleGenerator.offTime,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.331e-05/0.06614, allocations: 121.8 kB / 429.7 MB, free: 16.05 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-06/0.06615, allocations: 4 kB / 429.7 MB, free: 16.04 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.102e-05/0.06618, allocations: 7.5 kB / 429.7 MB, free: 16.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.06618, allocations: 4 kB / 429.7 MB, free: 16.03 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.06619, allocations: 0 / 429.7 MB, free: 16.03 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.0662, allocations: 0 / 429.7 MB, free: 16.03 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.327e-05/0.06627, allocations: 161.6 kB / 429.9 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.06628, allocations: 4 kB / 429.9 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/0.06632, allocations: 4 kB / 429.9 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.06633, allocations: 0 / 429.9 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.06634, allocations: 0 / 429.9 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.06635, allocations: 3.984 kB / 429.9 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.06635, allocations: 11.98 kB / 429.9 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.0665, allocations: 104.9 kB / 430 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.06653, allocations: 77.11 kB / 430.1 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.06654, allocations: 3.984 kB / 430.1 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.509e-05/0.06658, allocations: 4 kB / 430.1 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.06662, allocations: 4 kB / 430.1 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.06662, allocations: 7.984 kB / 430.1 MB, free: 15.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.821e-05/0.06665, allocations: 83.28 kB / 430.2 MB, free: 15.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.06665, allocations: 0 / 430.2 MB, free: 15.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001722/0.06683, allocations: 4 kB / 430.2 MB, free: 15.48 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 4.937e-05/0.06688, allocations: 91.25 kB / 430.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.06704, allocations: 43.91 kB / 430.3 MB, free: 15.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.06705, allocations: 4.125 kB / 430.3 MB, free: 15.33 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.327e-05/0.06712, allocations: 23.92 kB / 430.3 MB, free: 15.31 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.06725, allocations: 15.86 kB / 430.4 MB, free: 15.29 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002116/0.06747, allocations: 151.1 kB / 430.5 MB, free: 15.11 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.308e-05/0.06755, allocations: 0.6768 MB / 431.2 MB, free: 14.41 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.174e-05/0.06758, allocations: 11.44 kB / 431.2 MB, free: 14.39 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.06758, allocations: 0 / 431.2 MB, free: 14.39 MB / 318.1 MB Notification: Performance of Templates: time 0.001446/0.06903, allocations: 0.6061 MB / 431.8 MB, free: 13.79 MB / 318.1 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)