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.001038/0.001038, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00848/0.008481, allocations: 172.2 kB / 16.27 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.531/1.531, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009251/0.009252, allocations: 1.92 MB / 272.7 MB, free: 3.289 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.0005068/0.0005067, allocations: 12 kB / 331.5 MB, free: 32.98 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1027, allocations: 48.1 MB / 379.6 MB, free: 0.832 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.001857/0.1046, allocations: 1.113 MB / 380.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003564/0.105, allocations: 95.75 kB / 380.8 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.516e-05/0.1051, allocations: 4 kB / 380.8 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.584e-05/0.1051, allocations: 3.938 kB / 380.8 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.526e-05/0.1052, allocations: 0 / 380.8 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.1054, allocations: 15.97 kB / 380.8 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.23e-05/0.1055, allocations: 19.92 kB / 380.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1056, allocations: 11.98 kB / 380.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.679e-05/0.1057, allocations: 11.94 kB / 380.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.56e-05/0.1057, allocations: 11.92 kB / 380.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.1058, allocations: 0 / 380.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.152e-05/0.1058, allocations: 0 / 380.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.1058, allocations: 11.94 kB / 380.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.624e-05/0.1059, allocations: 33.62 kB / 380.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.425e-05/0.106, allocations: 31.83 kB / 381 MB, free: 15.45 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.106, allocations: 0 / 381 MB, free: 15.45 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.106, allocations: 0 / 381 MB, free: 15.45 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.106, allocations: 0 / 381 MB, free: 15.45 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.000594/0.1066, allocations: 343.7 kB / 381.3 MB, free: 15.06 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.665e-05/0.1067, allocations: 8.031 kB / 381.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.025e-05/0.1067, allocations: 4.938 kB / 381.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.1069, allocations: 168.3 kB / 381.5 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.1069, allocations: 4.375 kB / 381.5 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.1069, allocations: 384 / 381.5 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.1072, allocations: 58.23 kB / 381.5 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1072, allocations: 192 / 381.5 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.1072, allocations: 3.938 kB / 381.5 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.1072, allocations: 0 / 381.5 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.1074, allocations: 39.91 kB / 381.6 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.1079, allocations: 253 kB / 381.8 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.1081, allocations: 66.47 kB / 381.9 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.765e-05/0.1082, allocations: 29 kB / 381.9 MB, free: 14.34 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.1083, allocations: 0 / 381.9 MB, free: 14.34 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000262/0.1085, allocations: 71.33 kB / 382 MB, free: 14.25 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1085, allocations: 0 / 382 MB, free: 14.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004025/0.1089, allocations: 101.6 kB / 382.1 MB, free: 14.15 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.109, allocations: 59.41 kB / 382.1 MB, free: 14.08 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.566e-05/0.1091, allocations: 97.86 kB / 382.2 MB, free: 13.97 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.1091, allocations: 29.7 kB / 382.3 MB, free: 13.94 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.016e-05/0.1092, allocations: 93.27 kB / 382.4 MB, free: 13.84 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.1093, allocations: 11.75 kB / 382.4 MB, free: 13.83 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.1093, allocations: 13.72 kB / 382.4 MB, free: 13.81 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1095, allocations: 318.8 kB / 382.7 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.472e-05/0.1096, allocations: 23.92 kB / 382.7 MB, free: 13.47 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.652e-05/0.1097, allocations: 42.56 kB / 382.8 MB, free: 13.42 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.1099, allocations: 54.73 kB / 382.8 MB, free: 13.36 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1099, allocations: 7.938 kB / 382.8 MB, free: 13.35 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002346/0.1101, allocations: 89.58 kB / 382.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.1101, allocations: 4 kB / 382.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1102, allocations: 0 / 382.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.1102, allocations: 0 / 382.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1103, allocations: 23.98 kB / 382.9 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.1103, allocations: 0 / 382.9 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.1104, allocations: 4 kB / 382.9 MB, free: 13.22 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.1104, allocations: 4 kB / 382.9 MB, free: 13.22 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 0.0001377/0.1105, allocations: 121.7 kB / 383.1 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.1106, allocations: 3.906 kB / 383.1 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.1106, allocations: 7.484 kB / 383.1 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1106, allocations: 0 / 383.1 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.1106, allocations: 8 kB / 383.1 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1106, allocations: 0 / 383.1 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.1109, allocations: 161.6 kB / 383.2 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1109, allocations: 0 / 383.2 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.146e-05/0.1109, allocations: 11.98 kB / 383.2 MB, free: 12.85 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.111, allocations: 0 / 383.2 MB, free: 12.85 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.111, allocations: 4 kB / 383.2 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.111, allocations: 0 / 383.2 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.111, allocations: 0 / 383.2 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.1112, allocations: 113 kB / 383.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.596e-05/0.1113, allocations: 77.11 kB / 383.4 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.1114, allocations: 8 kB / 383.4 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.466e-05/0.1114, allocations: 7.984 kB / 383.4 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/0.1115, allocations: 4 kB / 383.5 MB, free: 12.6 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.1115, allocations: 4 kB / 383.5 MB, free: 12.6 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.735e-05/0.1116, allocations: 83.64 kB / 383.5 MB, free: 12.52 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1116, allocations: 0 / 383.5 MB, free: 12.52 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002141/0.1118, allocations: 11.91 kB / 383.6 MB, free: 12.5 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.0001557/0.112, allocations: 91.44 kB / 383.6 MB, free: 12.41 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.1122, allocations: 55.84 kB / 383.7 MB, free: 12.35 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1122, allocations: 0 / 383.7 MB, free: 12.35 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 9.384e-05/0.1123, allocations: 23.98 kB / 383.7 MB, free: 12.33 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.1125, allocations: 7.938 kB / 383.7 MB, free: 12.32 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004495/0.113, allocations: 120.8 kB / 383.8 MB, free: 12.18 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.1133, allocations: 0.6848 MB / 384.5 MB, free: 11.46 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.361e-05/0.1134, allocations: 0 / 384.5 MB, free: 11.46 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.1134, allocations: 11.44 kB / 384.5 MB, free: 11.45 MB / 286.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1134, allocations: 0 / 384.5 MB, free: 11.45 MB / 286.1 MB Notification: Performance of Templates: time 0.00246/0.1159, allocations: 361.2 kB / 384.9 MB, free: 11.1 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: