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.001498/0.001498, allocations: 106.9 kB / 16.41 MB, free: 6.492 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.001621/0.001621, allocations: 192.1 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.349/1.349, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008429/0.008429, 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.001485/0.001485, allocations: 65.97 kB / 378.9 MB, free: 51.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07243/0.07393, allocations: 47.14 MB / 426 MB, free: 19.96 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.001974/0.07595, allocations: 1.386 MB / 427.4 MB, free: 18.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002254/0.07619, allocations: 103.7 kB / 427.5 MB, free: 18.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.758e-05/0.07624, allocations: 0 / 427.5 MB, free: 18.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.07628, allocations: 7.922 kB / 427.5 MB, free: 18.45 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.49e-05/0.07633, allocations: 3.938 kB / 427.5 MB, free: 18.45 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.07649, allocations: 8 kB / 427.5 MB, free: 18.44 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.457e-05/0.07655, allocations: 23.92 kB / 427.6 MB, free: 18.42 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.07664, allocations: 7.984 kB / 427.6 MB, free: 18.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.55e-05/0.07668, allocations: 15.94 kB / 427.6 MB, free: 18.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.599e-05/0.07673, allocations: 11.97 kB / 427.6 MB, free: 18.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.07675, allocations: 4 kB / 427.6 MB, free: 18.38 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.846e-06/0.07676, allocations: 0 / 427.6 MB, free: 18.38 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.07678, allocations: 7.938 kB / 427.6 MB, free: 18.37 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.145e-05/0.07682, allocations: 11.94 kB / 427.6 MB, free: 18.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.542e-05/0.07689, allocations: 28.41 kB / 427.7 MB, free: 18.33 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.0769, allocations: 0 / 427.7 MB, free: 18.33 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.0769, allocations: 3.938 kB / 427.7 MB, free: 18.33 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.07691, 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.0003742/0.07729, allocations: 347.4 kB / 428 MB, free: 17.94 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.07733, allocations: 11.89 kB / 428 MB, free: 17.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.07736, allocations: 4.938 kB / 428 MB, free: 17.92 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.215e-05/0.07743, allocations: 160.4 kB / 428.2 MB, free: 17.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.07745, allocations: 4.375 kB / 428.2 MB, free: 17.72 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.07747, allocations: 12.36 kB / 428.2 MB, free: 17.71 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.0776, allocations: 42.25 kB / 428.2 MB, free: 17.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.07762, allocations: 192 / 428.2 MB, free: 17.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.07763, allocations: 11.94 kB / 428.2 MB, free: 17.65 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.07764, allocations: 0 / 428.2 MB, free: 17.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.07776, allocations: 27.91 kB / 428.3 MB, free: 17.62 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.07803, allocations: 256.9 kB / 428.5 MB, free: 17.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.07819, allocations: 58.48 kB / 428.6 MB, free: 17.26 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.014e-05/0.07826, allocations: 21 kB / 428.6 MB, free: 17.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.07828, allocations: 0 / 428.6 MB, free: 17.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.07845, allocations: 75.3 kB / 428.7 MB, free: 17.15 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.07846, allocations: 0 / 428.7 MB, free: 17.15 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002573/0.07872, allocations: 89.84 kB / 428.8 MB, free: 17.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.07875, allocations: 55.41 kB / 428.8 MB, free: 16.99 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.036e-05/0.0788, allocations: 101.8 kB / 428.9 MB, free: 16.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.07881, allocations: 25.7 kB / 428.9 MB, free: 16.85 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.181e-05/0.07884, allocations: 88.08 kB / 429 MB, free: 16.76 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.07886, allocations: 7.906 kB / 429 MB, free: 16.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.0789, allocations: 17.7 kB / 429 MB, free: 16.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.86e-05/0.07894, allocations: 318.8 kB / 429.4 MB, free: 16.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.572e-05/0.079, allocations: 19.92 kB / 429.4 MB, free: 16.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.568e-05/0.07906, allocations: 30.56 kB / 429.4 MB, free: 16.35 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.07917, allocations: 66.47 kB / 429.5 MB, free: 16.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.07918, allocations: 3.938 kB / 429.5 MB, free: 16.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001432/0.07933, allocations: 77.52 kB / 429.6 MB, free: 16.19 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.07935, allocations: 8.922 kB / 429.6 MB, free: 16.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.07936, allocations: 0 / 429.6 MB, free: 16.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.07938, allocations: 4 kB / 429.6 MB, free: 16.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.133e-05/0.07947, allocations: 7.938 kB / 429.6 MB, free: 16.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.07948, allocations: 4 kB / 429.6 MB, free: 16.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.657e-05/0.07952, allocations: 12.05 kB / 429.6 MB, free: 16.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.07953, allocations: 0 / 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 5.192e-05/0.07959, allocations: 121.7 kB / 429.7 MB, free: 16.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-06/0.0796, allocations: 0 / 429.7 MB, free: 16.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.316e-05/0.07963, allocations: 3.5 kB / 429.7 MB, free: 16.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.07964, allocations: 4 kB / 429.7 MB, free: 16.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.07965, allocations: 0 / 429.7 MB, free: 16.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.07965, allocations: 0 / 429.7 MB, free: 16.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.773e-05/0.07975, allocations: 165.6 kB / 429.9 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.07976, allocations: 4.375 kB / 429.9 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/0.0798, allocations: 11.98 kB / 429.9 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.07981, allocations: 0 / 429.9 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.07982, allocations: 4 kB / 429.9 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.07983, allocations: 0 / 429.9 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.07983, allocations: 4 kB / 429.9 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.07999, allocations: 104.9 kB / 430 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.08002, allocations: 81.11 kB / 430.1 MB, free: 15.56 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.08004, allocations: 0 / 430.1 MB, free: 15.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.957e-05/0.08008, allocations: 4 kB / 430.1 MB, free: 15.56 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.08013, allocations: 11.98 kB / 430.1 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.08013, allocations: 0 / 430.1 MB, free: 15.55 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.993e-05/0.08016, allocations: 79.28 kB / 430.2 MB, free: 15.47 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08016, allocations: 0 / 430.2 MB, free: 15.47 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001859/0.08035, allocations: 4 kB / 430.2 MB, free: 15.46 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 6.883e-05/0.08043, allocations: 103.2 kB / 430.3 MB, free: 15.35 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001644/0.0806, allocations: 39.91 kB / 430.3 MB, free: 15.31 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.08061, allocations: 0 / 430.3 MB, free: 15.31 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.897e-05/0.08068, allocations: 23.98 kB / 430.3 MB, free: 15.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.08083, allocations: 7.875 kB / 430.3 MB, free: 15.28 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002389/0.08108, allocations: 151.1 kB / 430.5 MB, free: 15.1 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.065e-05/0.08118, allocations: 0.6847 MB / 431.2 MB, free: 14.39 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.08121, allocations: 11.44 kB / 431.2 MB, free: 14.38 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.08122, allocations: 0 / 431.2 MB, free: 14.38 MB / 318.1 MB Notification: Performance of Templates: time 0.001556/0.08278, allocations: 0.6099 MB / 431.8 MB, free: 13.77 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)