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.001215/0.001215, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001092/0.001092, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.187/1.187, allocations: 205.1 MB / 223.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007942/0.007942, 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.001444/0.001444, allocations: 73.89 kB / 378.9 MB, free: 51.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06388/0.06533, allocations: 47.13 MB / 426 MB, free: 19.96 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.001907/0.06727, allocations: 1.387 MB / 427.4 MB, free: 18.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000223/0.06751, allocations: 95.73 kB / 427.5 MB, free: 18.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.759e-05/0.06756, allocations: 4 kB / 427.5 MB, free: 18.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.116e-05/0.06759, allocations: 3.938 kB / 427.5 MB, free: 18.46 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.434e-05/0.06764, allocations: 3.938 kB / 427.5 MB, free: 18.45 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.06778, allocations: 19.97 kB / 427.6 MB, free: 18.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.585e-05/0.06784, allocations: 23.92 kB / 427.6 MB, free: 18.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.32e-05/0.06792, allocations: 4 kB / 427.6 MB, free: 18.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.221e-05/0.06795, allocations: 11.94 kB / 427.6 MB, free: 18.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.866e-05/0.06799, allocations: 11.98 kB / 427.6 MB, free: 18.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.06801, allocations: 4 kB / 427.6 MB, free: 18.38 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-06/0.06802, allocations: 4 kB / 427.6 MB, free: 18.38 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.06804, allocations: 3.938 kB / 427.6 MB, free: 18.37 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.981e-05/0.06808, allocations: 19.86 kB / 427.6 MB, free: 18.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.342e-05/0.06815, allocations: 23.91 kB / 427.7 MB, free: 18.33 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.06816, allocations: 0 / 427.7 MB, free: 18.33 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.06816, allocations: 0 / 427.7 MB, free: 18.33 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.06817, allocations: 0 / 427.7 MB, free: 18.33 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.0003436/0.06852, allocations: 343.4 kB / 428 MB, free: 17.94 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.06855, allocations: 11.89 kB / 428 MB, free: 17.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.06859, allocations: 8.938 kB / 428 MB, free: 17.92 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.301e-05/0.06866, allocations: 172.3 kB / 428.2 MB, free: 17.71 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.06868, allocations: 384 / 428.2 MB, free: 17.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-06/0.0687, allocations: 4.375 kB / 428.2 MB, free: 17.71 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.06882, allocations: 46.23 kB / 428.2 MB, free: 17.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.06883, allocations: 4.188 kB / 428.2 MB, free: 17.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.06884, allocations: 3.938 kB / 428.2 MB, free: 17.65 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.06885, allocations: 0 / 428.2 MB, free: 17.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.853e-05/0.06895, allocations: 35.91 kB / 428.3 MB, free: 17.62 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.06919, allocations: 241 kB / 428.5 MB, free: 17.33 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.06934, allocations: 62.56 kB / 428.6 MB, free: 17.26 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.15e-05/0.0694, allocations: 24.84 kB / 428.6 MB, free: 17.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.665e-06/0.06941, allocations: 7.984 kB / 428.6 MB, free: 17.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.06956, allocations: 71.33 kB / 428.7 MB, free: 17.14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.06957, allocations: 0 / 428.7 MB, free: 17.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002339/0.06981, allocations: 89.59 kB / 428.8 MB, free: 17.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.534e-05/0.06983, allocations: 51.41 kB / 428.8 MB, free: 16.99 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.927e-05/0.06988, allocations: 105.9 kB / 428.9 MB, free: 16.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.174e-06/0.06989, allocations: 25.7 kB / 428.9 MB, free: 16.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.799e-05/0.06991, allocations: 88.12 kB / 429 MB, free: 16.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.06993, allocations: 11.89 kB / 429 MB, free: 16.74 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.06997, allocations: 17.72 kB / 429.1 MB, free: 16.72 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.168e-05/0.07, allocations: 310.8 kB / 429.4 MB, free: 16.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.053e-05/0.07006, allocations: 19.92 kB / 429.4 MB, free: 16.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.075e-05/0.07012, allocations: 42.55 kB / 429.4 MB, free: 16.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.125e-05/0.07021, allocations: 46.5 kB / 429.5 MB, free: 16.28 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.07022, allocations: 0 / 429.5 MB, free: 16.28 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001314/0.07036, allocations: 89.48 kB / 429.6 MB, free: 16.19 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.07038, allocations: 8.938 kB / 429.6 MB, free: 16.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.07038, allocations: 0 / 429.6 MB, free: 16.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.0704, allocations: 0 / 429.6 MB, free: 16.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.07047, allocations: 16.3 kB / 429.6 MB, free: 16.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.07048, allocations: 0 / 429.6 MB, free: 16.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.07052, allocations: 8 kB / 429.6 MB, free: 16.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.07053, allocations: 4 kB / 429.6 MB, free: 16.15 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.191e-05/0.07058, allocations: 121.8 kB / 429.7 MB, free: 16.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-06/0.0706, allocations: 0 / 429.7 MB, free: 16.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.162e-05/0.07062, allocations: 11.48 kB / 429.7 MB, free: 16.01 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.07063, allocations: 0 / 429.7 MB, free: 16.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.07063, allocations: 0 / 429.7 MB, free: 16.01 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.34e-05/0.07065, allocations: 85.06 kB / 429.8 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.07067, allocations: 0 / 429.8 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.031e-05/0.07071, allocations: 4 kB / 429.8 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.07075, allocations: 7.922 kB / 429.8 MB, free: 15.9 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001648/0.07092, allocations: 161.1 kB / 430 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001554/0.07108, allocations: 246.8 kB / 430.2 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.635e-05/0.07115, allocations: 19.98 kB / 430.2 MB, free: 15.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.688e-05/0.07117, allocations: 79.28 kB / 430.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of Backend: time 2.7e-07/0.07118, allocations: 4 kB / 430.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003002/0.07148, allocations: 102.2 kB / 430.4 MB, free: 15.27 MB / 318.1 MB Notification: Performance of SimCode: time 0.0002249/0.07172, allocations: 0.5571 MB / 431 MB, free: 14.66 MB / 318.1 MB Notification: Performance of Templates: time 0.001953/0.07368, allocations: 485.2 kB / 431.4 MB, free: 14.18 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)