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.00103/0.00103, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001086/0.001086, allocations: 199 kB / 16.26 MB, free: 6.629 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.276/1.276, allocations: 205.1 MB / 222.1 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01005/0.01005, allocations: 1.928 MB / 271.4 MB, free: 3.508 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.001223/0.001223, allocations: 71.11 kB / 329.3 MB, free: 33.17 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07546/0.07669, allocations: 47.14 MB / 376.5 MB, free: 1.988 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.002273/0.07899, allocations: 1.452 MB / 377.9 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002146/0.07922, allocations: 95.73 kB / 378 MB, free: 432 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.186e-05/0.07927, allocations: 4 kB / 378 MB, free: 428 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.627e-05/0.0793, allocations: 0 / 378 MB, free: 428 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 3.753e-05/0.07935, allocations: 7.922 kB / 378 MB, free: 420 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001292/0.07948, allocations: 8 kB / 378 MB, free: 412 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.286e-05/0.07955, allocations: 27.92 kB / 378.1 MB, free: 384 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.291e-05/0.07964, allocations: 8 kB / 378.1 MB, free: 376 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.676e-05/0.07967, allocations: 11.92 kB / 378.1 MB, free: 364 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.193e-05/0.07971, allocations: 15.92 kB / 378.1 MB, free: 348 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.07973, allocations: 0 / 378.1 MB, free: 348 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.689e-06/0.07975, allocations: 4 kB / 378.1 MB, free: 344 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.07976, allocations: 0 / 378.1 MB, free: 344 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.2e-05/0.0798, allocations: 15.92 kB / 378.1 MB, free: 328 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 7.315e-05/0.07988, allocations: 23.91 kB / 378.1 MB, free: 304 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.07989, allocations: 4 kB / 378.1 MB, free: 300 kB / 270.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.0799, allocations: 4 kB / 378.1 MB, free: 296 kB / 270.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.07991, allocations: 3.938 kB / 378.1 MB, free: 292 kB / 270.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.000409/0.08032, allocations: 339.7 kB / 378.5 MB, free: 15.9 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.08036, allocations: 15.89 kB / 378.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.0804, allocations: 0.9375 kB / 378.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.127e-05/0.08049, allocations: 168.3 kB / 378.7 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.08051, allocations: 384 / 378.7 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.08053, allocations: 4.375 kB / 378.7 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.08066, allocations: 50.23 kB / 378.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.08067, allocations: 192 / 378.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.08068, allocations: 3.938 kB / 378.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.08069, allocations: 4 kB / 378.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.08081, allocations: 31.91 kB / 378.8 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.08113, allocations: 252.9 kB / 379 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.0813, allocations: 58.48 kB / 379.1 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.013e-05/0.08137, allocations: 30.12 kB / 379.1 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.08138, allocations: 0 / 379.1 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.08156, allocations: 75.31 kB / 379.2 MB, free: 15.11 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.08157, allocations: 0 / 379.2 MB, free: 15.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002465/0.08182, allocations: 81.66 kB / 379.2 MB, free: 15.02 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.08186, allocations: 51.41 kB / 379.3 MB, free: 14.96 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.625e-05/0.08192, allocations: 105.8 kB / 379.4 MB, free: 14.84 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.08194, allocations: 25.7 kB / 379.4 MB, free: 14.81 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.08198, allocations: 95.98 kB / 379.5 MB, free: 14.71 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.082, allocations: 11.84 kB / 379.5 MB, free: 14.7 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.08204, allocations: 21.7 kB / 379.5 MB, free: 14.68 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.902e-05/0.08213, allocations: 314.8 kB / 379.9 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.35e-05/0.08219, allocations: 11.98 kB / 379.9 MB, free: 14.35 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.575e-05/0.08226, allocations: 38.5 kB / 379.9 MB, free: 14.3 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.08238, allocations: 54.55 kB / 380 MB, free: 14.24 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.08239, allocations: 3.938 kB / 380 MB, free: 14.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001436/0.08254, allocations: 69.61 kB / 380 MB, free: 14.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.08256, allocations: 8 kB / 380 MB, free: 14.15 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.08257, allocations: 4.062 kB / 380 MB, free: 14.15 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.08258, allocations: 0 / 380 MB, free: 14.15 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.961e-05/0.08266, allocations: 16.3 kB / 380.1 MB, free: 14.13 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.08267, allocations: 0 / 380.1 MB, free: 14.13 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.55e-05/0.08271, allocations: 7.984 kB / 380.1 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.08272, allocations: 12 kB / 380.1 MB, free: 14.11 MB / 286.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 6.427e-05/0.08279, allocations: 109.8 kB / 380.2 MB, free: 14 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.08281, allocations: 7.906 kB / 380.2 MB, free: 13.99 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.362e-05/0.08284, allocations: 7.5 kB / 380.2 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.08285, allocations: 4 kB / 380.2 MB, free: 13.97 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.08286, allocations: 0 / 380.2 MB, free: 13.97 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.08286, allocations: 0 / 380.2 MB, free: 13.97 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.08299, allocations: 169.6 kB / 380.4 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.08299, allocations: 0 / 380.4 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.075e-05/0.08304, allocations: 11.98 kB / 380.4 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.08305, allocations: 0 / 380.4 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.08306, allocations: 0 / 380.4 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.08307, allocations: 3.938 kB / 380.4 MB, free: 13.74 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.08307, allocations: 0 / 380.4 MB, free: 13.74 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.08325, allocations: 109 kB / 380.5 MB, free: 13.62 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.08329, allocations: 85 kB / 380.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.08331, allocations: 288 / 380.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.763e-05/0.08335, allocations: 4 kB / 380.6 MB, free: 13.51 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.08339, allocations: 3.984 kB / 380.6 MB, free: 13.51 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.0834, allocations: 4 kB / 380.6 MB, free: 13.5 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.555e-05/0.08345, allocations: 87.28 kB / 380.7 MB, free: 13.42 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08346, allocations: 3.938 kB / 380.7 MB, free: 13.41 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001737/0.08364, allocations: 4 kB / 380.7 MB, free: 13.41 MB / 286.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 0.0001034/0.08375, allocations: 95.23 kB / 380.8 MB, free: 13.31 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.08395, allocations: 47.89 kB / 380.8 MB, free: 13.26 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.08396, allocations: 0 / 380.8 MB, free: 13.26 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 9.077e-05/0.08406, allocations: 24.11 kB / 380.8 MB, free: 13.24 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.08422, allocations: 7.938 kB / 380.8 MB, free: 13.23 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.08454, allocations: 117.6 kB / 381 MB, free: 13.09 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.08479, allocations: 0.6844 MB / 381.6 MB, free: 12.38 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.416e-05/0.08482, allocations: 4 kB / 381.7 MB, free: 12.38 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.08485, allocations: 15.44 kB / 381.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.08485, allocations: 0 / 381.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of Templates: time 0.001934/0.08679, allocations: 385.2 kB / 382 MB, free: 11.98 MB / 286.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)