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.001026/0.001026, allocations: 91.38 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 180.8 kB / 16.92 MB, free: 6.652 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.365/1.365, allocations: 205.4 MB / 223.1 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008223/0.008223, allocations: 1.916 MB / 273.3 MB, free: 3.293 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.0005208/0.0005209, allocations: 16 kB / 332.1 MB, free: 32.99 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06912/0.06966, allocations: 48.1 MB / 380.3 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.001619/0.07133, allocations: 1.117 MB / 381.4 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000274/0.07163, allocations: 97.52 kB / 381.5 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.901e-05/0.07169, allocations: 0 / 381.5 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.447e-05/0.07173, allocations: 3.984 kB / 381.5 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.082e-05/0.0718, allocations: 3.938 kB / 381.5 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.07198, allocations: 11.98 kB / 381.5 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.783e-05/0.07206, allocations: 23.92 kB / 381.5 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.772e-05/0.07216, allocations: 0 / 381.5 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.308e-05/0.07222, allocations: 19.92 kB / 381.5 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.505e-05/0.07228, allocations: 7.938 kB / 381.5 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.0723, allocations: 0 / 381.5 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.122e-05/0.07232, allocations: 4 kB / 381.5 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.07234, allocations: 7.984 kB / 381.5 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.179e-05/0.07239, allocations: 33.64 kB / 381.6 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.769e-05/0.07245, allocations: 15.97 kB / 381.6 MB, free: 15.48 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.07247, allocations: 7.922 kB / 381.6 MB, free: 15.47 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.07248, allocations: 0 / 381.6 MB, free: 15.47 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.07249, allocations: 0 / 381.6 MB, free: 15.47 MB / 286.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.0005/0.07299, allocations: 339.7 kB / 381.9 MB, free: 15.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.07304, allocations: 8.031 kB / 381.9 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.07308, allocations: 4.938 kB / 381.9 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.07319, allocations: 172.3 kB / 382.1 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.07322, allocations: 4.375 kB / 382.1 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.07325, allocations: 4.312 kB / 382.1 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.07341, allocations: 58.23 kB / 382.2 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.07343, allocations: 192 / 382.2 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.07345, allocations: 3.938 kB / 382.2 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.07346, allocations: 0 / 382.2 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.0736, allocations: 39.95 kB / 382.2 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.07394, allocations: 249 kB / 382.5 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.07416, allocations: 70.52 kB / 382.5 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.693e-05/0.07425, allocations: 24.91 kB / 382.6 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.07427, allocations: 3.984 kB / 382.6 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.07447, allocations: 67.39 kB / 382.6 MB, free: 14.28 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.07448, allocations: 3.938 kB / 382.6 MB, free: 14.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003194/0.07481, allocations: 109.6 kB / 382.7 MB, free: 14.16 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.07492, allocations: 55.41 kB / 382.8 MB, free: 14.09 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.283e-05/0.075, allocations: 97.86 kB / 382.9 MB, free: 13.99 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.07503, allocations: 25.7 kB / 382.9 MB, free: 13.96 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.07509, allocations: 96.12 kB / 383 MB, free: 13.86 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.07512, allocations: 11.75 kB / 383 MB, free: 13.85 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.07515, allocations: 9.719 kB / 383 MB, free: 13.83 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.07527, allocations: 318.8 kB / 383.3 MB, free: 13.51 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.847e-05/0.07534, allocations: 15.98 kB / 383.4 MB, free: 13.5 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.755e-05/0.07544, allocations: 42.56 kB / 383.4 MB, free: 13.45 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.07559, allocations: 62.48 kB / 383.5 MB, free: 13.38 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.0756, allocations: 7.938 kB / 383.5 MB, free: 13.37 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001996/0.07581, allocations: 81.59 kB / 383.5 MB, free: 13.28 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.07583, allocations: 4 kB / 383.5 MB, free: 13.28 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.07584, allocations: 0 / 383.5 MB, free: 13.28 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.07586, allocations: 0 / 383.5 MB, free: 13.28 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.957e-05/0.07594, allocations: 20.06 kB / 383.6 MB, free: 13.26 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.07596, allocations: 3.984 kB / 383.6 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.07601, allocations: 4 kB / 383.6 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.07602, allocations: 4 kB / 383.6 MB, free: 13.25 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 9.296e-05/0.07612, allocations: 121.7 kB / 383.7 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.07614, allocations: 3.906 kB / 383.7 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.07617, allocations: 7.5 kB / 383.7 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.07618, allocations: 7.984 kB / 383.7 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.07619, allocations: 4.375 kB / 383.7 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.0762, allocations: 0 / 383.7 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.07636, allocations: 157.6 kB / 383.9 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.07637, allocations: 4 kB / 383.9 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.07642, allocations: 11.98 kB / 383.9 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.07643, allocations: 0 / 383.9 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.07645, allocations: 8 kB / 383.9 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.07645, allocations: 0 / 383.9 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.07646, allocations: 0 / 383.9 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.07668, allocations: 113.2 kB / 384 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.07672, allocations: 81.05 kB / 384.1 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.07674, allocations: 4 kB / 384.1 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.744e-05/0.0768, allocations: 7.984 kB / 384.1 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.07685, allocations: 7.938 kB / 384.1 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.07686, allocations: 4 kB / 384.1 MB, free: 12.61 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.109e-05/0.0769, allocations: 87.27 kB / 384.2 MB, free: 12.53 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07691, allocations: 0 / 384.2 MB, free: 12.53 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001926/0.07711, allocations: 7.906 kB / 384.2 MB, free: 12.52 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 9.513e-05/0.07721, allocations: 91.25 kB / 384.3 MB, free: 12.42 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.07741, allocations: 51.97 kB / 384.3 MB, free: 12.37 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.07742, allocations: 0 / 384.3 MB, free: 12.37 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.758e-05/0.07752, allocations: 27.92 kB / 384.4 MB, free: 12.34 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.07767, allocations: 7.938 kB / 384.4 MB, free: 12.34 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.07798, allocations: 146.5 kB / 384.5 MB, free: 12.16 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.07825, allocations: 0.6809 MB / 385.2 MB, free: 11.45 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.07828, allocations: 11.44 kB / 385.2 MB, free: 11.44 MB / 286.1 MB Notification: Performance of SimCode: time 2.7e-07/0.07829, allocations: 0 / 385.2 MB, free: 11.44 MB / 286.1 MB Notification: Performance of Templates: time 0.001906/0.0802, allocations: 0.5981 MB / 385.8 MB, free: 10.84 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)