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.001195/0.001195, allocations: 112.4 kB / 16.41 MB, free: 6.445 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.001143/0.001143, allocations: 192.2 kB / 17.35 MB, free: 5.715 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.17/1.17, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007922/0.007922, allocations: 1.939 MB / 272.5 MB, free: 10.06 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.001318/0.001318, allocations: 73.58 kB / 378.9 MB, free: 51.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05966/0.06099, allocations: 47.13 MB / 426 MB, free: 19.96 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.001906/0.06292, allocations: 1.387 MB / 427.4 MB, free: 18.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002164/0.06316, allocations: 103.7 kB / 427.5 MB, free: 18.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/0.06321, allocations: 0 / 427.5 MB, free: 18.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.06326, allocations: 0 / 427.5 MB, free: 18.46 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.835e-05/0.0633, allocations: 3.938 kB / 427.5 MB, free: 18.45 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001276/0.06343, allocations: 19.92 kB / 427.6 MB, free: 18.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.93e-05/0.06349, allocations: 27.92 kB / 427.6 MB, free: 18.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.441e-05/0.06357, allocations: 0 / 427.6 MB, free: 18.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.614e-05/0.0636, allocations: 19.91 kB / 427.6 MB, free: 18.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.53e-05/0.06365, allocations: 8 kB / 427.6 MB, free: 18.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.06367, allocations: 7.938 kB / 427.6 MB, free: 18.37 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-06/0.06369, allocations: 0 / 427.6 MB, free: 18.37 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.06371, allocations: 11.92 kB / 427.6 MB, free: 18.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.06375, allocations: 7.938 kB / 427.6 MB, free: 18.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.413e-05/0.06382, allocations: 24.47 kB / 427.7 MB, free: 18.33 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.06383, allocations: 4 kB / 427.7 MB, free: 18.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.06383, allocations: 0 / 427.7 MB, free: 18.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.06384, allocations: 0 / 427.7 MB, free: 18.32 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.0003557/0.0642, allocations: 343.4 kB / 428 MB, free: 17.94 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.06424, allocations: 11.89 kB / 428 MB, free: 17.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.725e-05/0.06427, allocations: 4.938 kB / 428 MB, free: 17.92 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.04e-05/0.06433, allocations: 164.4 kB / 428.2 MB, free: 17.72 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.06435, allocations: 384 / 428.2 MB, free: 17.72 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.06436, allocations: 8.375 kB / 428.2 MB, free: 17.71 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.06448, allocations: 54.17 kB / 428.2 MB, free: 17.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.0645, allocations: 192 / 428.2 MB, free: 17.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.06451, allocations: 3.938 kB / 428.2 MB, free: 17.65 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.06452, allocations: 0 / 428.2 MB, free: 17.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.86e-05/0.06463, allocations: 27.97 kB / 428.3 MB, free: 17.62 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.06486, allocations: 260.9 kB / 428.5 MB, free: 17.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.065, allocations: 62.48 kB / 428.6 MB, free: 17.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.916e-05/0.06506, allocations: 16.94 kB / 428.6 MB, free: 17.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-06/0.06508, allocations: 0 / 428.6 MB, free: 17.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.0652, allocations: 71.38 kB / 428.7 MB, free: 17.15 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.06521, allocations: 0 / 428.7 MB, free: 17.15 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002262/0.06544, allocations: 89.59 kB / 428.8 MB, free: 17.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.637e-05/0.06547, allocations: 55.41 kB / 428.8 MB, free: 16.99 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.697e-05/0.06551, allocations: 101.8 kB / 428.9 MB, free: 16.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/0.06552, allocations: 25.7 kB / 428.9 MB, free: 16.85 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.765e-05/0.06555, allocations: 96.08 kB / 429 MB, free: 16.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.06557, allocations: 3.906 kB / 429 MB, free: 16.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.0656, allocations: 17.72 kB / 429.1 MB, free: 16.72 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.165e-05/0.06563, allocations: 314.8 kB / 429.4 MB, free: 16.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.843e-05/0.06569, allocations: 19.98 kB / 429.4 MB, free: 16.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.646e-05/0.06574, allocations: 34.5 kB / 429.4 MB, free: 16.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.63e-05/0.06583, allocations: 58.66 kB / 429.5 MB, free: 16.28 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.06584, allocations: 4 kB / 429.5 MB, free: 16.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001252/0.06597, allocations: 81.45 kB / 429.6 MB, free: 16.19 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.06598, allocations: 4 kB / 429.6 MB, free: 16.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.06599, allocations: 64 / 429.6 MB, free: 16.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.06601, allocations: 4 kB / 429.6 MB, free: 16.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.182e-05/0.06608, allocations: 11.98 kB / 429.6 MB, free: 16.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.06609, allocations: 7.938 kB / 429.6 MB, free: 16.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.222e-05/0.06612, allocations: 0 / 429.6 MB, free: 16.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.06613, allocations: 4.375 kB / 429.6 MB, free: 16.16 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.041e-05/0.06618, allocations: 121.8 kB / 429.7 MB, free: 16.03 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.06619, allocations: 0 / 429.7 MB, free: 16.03 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.888e-05/0.06622, allocations: 3.5 kB / 429.7 MB, free: 16.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.06622, allocations: 7.938 kB / 429.7 MB, free: 16.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.06623, allocations: 8 kB / 429.7 MB, free: 16.01 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.06625, allocations: 81.02 kB / 429.8 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.06626, allocations: 4 kB / 429.8 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.088e-05/0.06631, allocations: 7.984 kB / 429.8 MB, free: 15.9 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.06634, allocations: 3.938 kB / 429.8 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001587/0.06651, allocations: 152.9 kB / 430 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001488/0.06667, allocations: 250.7 kB / 430.2 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.408e-05/0.06673, allocations: 19.98 kB / 430.2 MB, free: 15.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.665e-05/0.06675, allocations: 83.27 kB / 430.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of Backend: time 3.91e-07/0.06676, allocations: 0 / 430.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002948/0.06706, allocations: 94.39 kB / 430.4 MB, free: 15.27 MB / 318.1 MB Notification: Performance of SimCode: time 0.0002245/0.06729, allocations: 0.5571 MB / 431 MB, free: 14.66 MB / 318.1 MB Notification: Performance of Templates: time 0.001816/0.06912, allocations: 0.4948 MB / 431.5 MB, free: 14.17 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)