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.001034/0.001034, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001116/0.001117, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205.4 MB / 222.1 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.0129/0.0129, allocations: 1.932 MB / 272.3 MB, free: 3.27 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.000609/0.0006092, allocations: 16 kB / 330.9 MB, free: 33.32 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1174, allocations: 48.1 MB / 379 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.002267/0.1197, allocations: 1.097 MB / 380.1 MB, free: 56 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003954/0.1201, allocations: 95.77 kB / 380.2 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.897e-05/0.1202, allocations: 4 kB / 380.2 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.428e-05/0.1203, allocations: 0 / 380.2 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.774e-05/0.1204, allocations: 3.938 kB / 380.2 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.1207, allocations: 11.98 kB / 380.2 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.933e-05/0.1208, allocations: 23.92 kB / 380.2 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1209, allocations: 7.984 kB / 380.2 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.506e-05/0.121, allocations: 11.88 kB / 380.2 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.458e-05/0.1211, allocations: 11.98 kB / 380.3 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.1211, allocations: 0 / 380.3 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.1211, allocations: 0 / 380.3 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.1211, allocations: 11.94 kB / 380.3 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.916e-05/0.1212, allocations: 29.7 kB / 380.3 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.463e-05/0.1213, allocations: 11.97 kB / 380.3 MB, free: 15.83 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.1213, allocations: 0 / 380.3 MB, free: 15.83 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1213, allocations: 3.938 kB / 380.3 MB, free: 15.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1213, allocations: 0 / 380.3 MB, free: 15.82 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.0006008/0.1219, allocations: 347.5 kB / 380.7 MB, free: 15.44 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.122, allocations: 12.03 kB / 380.7 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.122, allocations: 0 / 380.7 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.1222, allocations: 163.1 kB / 380.8 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.1222, allocations: 0 / 380.8 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.1222, allocations: 0 / 380.8 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.1224, allocations: 61.56 kB / 380.9 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1224, allocations: 0 / 380.9 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1224, allocations: 0 / 380.9 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1225, allocations: 8 kB / 380.9 MB, free: 15.15 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.1226, allocations: 35.97 kB / 380.9 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.1231, allocations: 252.8 kB / 381.2 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.1233, allocations: 70.48 kB / 381.2 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/0.1234, allocations: 25 kB / 381.3 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.1234, allocations: 4 kB / 381.3 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.1236, allocations: 71.38 kB / 381.3 MB, free: 14.63 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.1236, allocations: 0 / 381.3 MB, free: 14.63 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000327/0.124, allocations: 105.8 kB / 381.4 MB, free: 14.52 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.124, allocations: 59.39 kB / 381.5 MB, free: 14.45 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.336e-05/0.1242, allocations: 101.8 kB / 381.6 MB, free: 14.34 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.1242, allocations: 25.7 kB / 381.6 MB, free: 14.31 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.391e-05/0.1243, allocations: 88.14 kB / 381.7 MB, free: 14.22 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.1243, allocations: 11.75 kB / 381.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.1243, allocations: 0 / 381.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1245, allocations: 326.8 kB / 382 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.913e-05/0.1245, allocations: 15.98 kB / 382.1 MB, free: 13.86 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.566e-05/0.1246, allocations: 34.56 kB / 382.1 MB, free: 13.82 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.671e-05/0.1247, allocations: 27.98 kB / 382.1 MB, free: 13.79 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.625e-05/0.1247, allocations: 3.953 kB / 382.1 MB, free: 13.79 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001738/0.1249, allocations: 81.61 kB / 382.2 MB, free: 13.7 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1249, allocations: 4.062 kB / 382.2 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1249, allocations: 4 kB / 382.2 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.125, allocations: 7.938 kB / 382.2 MB, free: 13.69 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.8e-05/0.1251, allocations: 19.86 kB / 382.2 MB, free: 13.67 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1251, allocations: 0 / 382.2 MB, free: 13.67 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.998e-05/0.1251, allocations: 8 kB / 382.2 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.1251, allocations: 3.984 kB / 382.2 MB, free: 13.66 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,$PRE.dutyCycleGenerator.offTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.1253, allocations: 113.8 kB / 382.4 MB, free: 13.54 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.1253, allocations: 7.953 kB / 382.4 MB, free: 13.53 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.1253, allocations: 7.5 kB / 382.4 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1253, allocations: 0 / 382.4 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1253, allocations: 0 / 382.4 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1253, allocations: 0 / 382.4 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.1256, allocations: 169.9 kB / 382.5 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1256, allocations: 0 / 382.5 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.004e-05/0.1257, allocations: 15.95 kB / 382.6 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.1257, allocations: 3.984 kB / 382.6 MB, free: 13.28 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1257, allocations: 4 kB / 382.6 MB, free: 13.28 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1257, allocations: 0 / 382.6 MB, free: 13.28 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1257, allocations: 0 / 382.6 MB, free: 13.28 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.1259, allocations: 101 kB / 382.7 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.253e-05/0.126, allocations: 85.09 kB / 382.7 MB, free: 13.06 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.126, allocations: 7.953 kB / 382.8 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.1e-05/0.1261, allocations: 8 kB / 382.8 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.1261, allocations: 7.984 kB / 382.8 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.1261, allocations: 0 / 382.8 MB, free: 13.04 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.777e-05/0.1262, allocations: 79.28 kB / 382.8 MB, free: 12.96 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1262, allocations: 0 / 382.8 MB, free: 12.96 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001914/0.1264, allocations: 8 kB / 382.9 MB, free: 12.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001154/0.1265, allocations: 95.25 kB / 382.9 MB, free: 12.85 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.1267, allocations: 51.89 kB / 383 MB, free: 12.8 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.1268, allocations: 0 / 383 MB, free: 12.8 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.954e-05/0.1269, allocations: 24.11 kB / 383 MB, free: 12.77 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.127, allocations: 8 kB / 383 MB, free: 12.77 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.1274, allocations: 121.7 kB / 383.1 MB, free: 12.62 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.1277, allocations: 0.6809 MB / 383.8 MB, free: 11.91 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.649e-05/0.1277, allocations: 3.938 kB / 383.8 MB, free: 11.91 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.1278, allocations: 15.44 kB / 383.8 MB, free: 11.89 MB / 286.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1278, allocations: 3.938 kB / 383.9 MB, free: 11.89 MB / 286.1 MB Notification: Performance of Templates: time 0.00235/0.1301, allocations: 344.8 kB / 384.2 MB, free: 11.55 MB / 286.1 MB make -j1 -f MEV_MEV.Test.TestDutyCycleGenerator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: