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.001429/0.001429, allocations: 100.1 kB / 15.88 MB, free: 12 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.001644/0.001644, allocations: 195.6 kB / 16.79 MB, free: 6.809 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 / 222.7 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008781/0.008781, allocations: 1.928 MB / 271.9 MB, free: 3.562 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.001385/0.001385, allocations: 68.12 kB / 329.8 MB, free: 33.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06728/0.06868, allocations: 47.13 MB / 376.9 MB, free: 2.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.002404/0.07111, allocations: 1.46 MB / 378.4 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002372/0.07137, allocations: 97.52 kB / 378.5 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.407e-05/0.07142, allocations: 0 / 378.5 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.07147, allocations: 0 / 378.5 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 4.54e-05/0.07152, allocations: 7.922 kB / 378.5 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.07167, allocations: 11.98 kB / 378.5 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.181e-05/0.07173, allocations: 27.92 kB / 378.5 MB, free: 500 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.52e-05/0.07182, allocations: 8 kB / 378.5 MB, free: 492 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.679e-05/0.07185, allocations: 7.938 kB / 378.5 MB, free: 484 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.8e-05/0.07191, allocations: 11.92 kB / 378.6 MB, free: 472 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.07193, allocations: 4 kB / 378.6 MB, free: 468 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.007e-05/0.07194, allocations: 0 / 378.6 MB, free: 468 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.07197, allocations: 0 / 378.6 MB, free: 468 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.07201, allocations: 15.92 kB / 378.6 MB, free: 452 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 5.787e-05/0.07207, allocations: 15.97 kB / 378.6 MB, free: 436 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.07208, allocations: 0 / 378.6 MB, free: 436 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.07208, allocations: 0 / 378.6 MB, free: 436 kB / 270.1 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.07209, allocations: 8 kB / 378.6 MB, free: 428 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.0004649/0.07256, allocations: 339.7 kB / 378.9 MB, free: 36 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.0726, allocations: 12.03 kB / 378.9 MB, free: 24 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.07264, allocations: 0.9375 kB / 378.9 MB, free: 24 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.07276, allocations: 168.3 kB / 379.1 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.07279, allocations: 384 / 379.1 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.07281, allocations: 8.297 kB / 379.1 MB, free: 15.81 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.07295, allocations: 50.25 kB / 379.2 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.07297, allocations: 4.188 kB / 379.2 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.07299, allocations: 3.938 kB / 379.2 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.073, allocations: 0 / 379.2 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.07313, allocations: 31.97 kB / 379.2 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.07346, allocations: 245 kB / 379.4 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.07366, allocations: 70.41 kB / 379.5 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.75e-05/0.07374, allocations: 25 kB / 379.5 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.07375, allocations: 3.938 kB / 379.5 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.07392, allocations: 75.31 kB / 379.6 MB, free: 15.23 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.412e-06/0.07393, allocations: 0 / 379.6 MB, free: 15.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003003/0.07424, allocations: 85.59 kB / 379.7 MB, free: 15.14 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.07428, allocations: 51.41 kB / 379.8 MB, free: 15.08 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.43e-05/0.07435, allocations: 105.8 kB / 379.9 MB, free: 14.97 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.07439, allocations: 25.7 kB / 379.9 MB, free: 14.94 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.07443, allocations: 88.05 kB / 380 MB, free: 14.85 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.07446, allocations: 15.84 kB / 380 MB, free: 14.83 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.0745, allocations: 21.7 kB / 380 MB, free: 14.8 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.07461, allocations: 310.8 kB / 380.3 MB, free: 14.49 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.317e-05/0.07469, allocations: 15.98 kB / 380.3 MB, free: 14.48 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.067e-05/0.07476, allocations: 34.56 kB / 380.4 MB, free: 14.43 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.07489, allocations: 54.48 kB / 380.4 MB, free: 14.37 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.07491, allocations: 3.938 kB / 380.4 MB, free: 14.37 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001662/0.07508, allocations: 73.61 kB / 380.5 MB, free: 14.29 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.0751, allocations: 11.98 kB / 380.5 MB, free: 14.28 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.07511, allocations: 0 / 380.5 MB, free: 14.28 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.07513, allocations: 0 / 380.5 MB, free: 14.28 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/0.07521, allocations: 12.06 kB / 380.5 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.07522, allocations: 0 / 380.5 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.157e-05/0.07527, allocations: 7.984 kB / 380.5 MB, free: 14.26 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.07529, allocations: 4 kB / 380.5 MB, free: 14.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 7.132e-05/0.07536, allocations: 117.7 kB / 380.6 MB, free: 14.13 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.07538, allocations: 7.906 kB / 380.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.07541, allocations: 7.5 kB / 380.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.07542, allocations: 0 / 380.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.07543, allocations: 4 kB / 380.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.07544, allocations: 0 / 380.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.07557, allocations: 165.6 kB / 380.8 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.07558, allocations: 0 / 380.8 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.07564, allocations: 12.36 kB / 380.8 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.07564, allocations: 0 / 380.8 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.433e-06/0.07566, allocations: 0 / 380.8 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.07566, allocations: 4 kB / 380.8 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.07567, allocations: 0 / 380.8 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.07587, allocations: 109 kB / 380.9 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.07592, allocations: 85.3 kB / 381 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.07594, allocations: 3.938 kB / 381 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.844e-05/0.07599, allocations: 4 kB / 381 MB, free: 13.64 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.07603, allocations: 11.91 kB / 381 MB, free: 13.63 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.07604, allocations: 4 kB / 381 MB, free: 13.63 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.389e-05/0.07609, allocations: 83.28 kB / 381.1 MB, free: 13.55 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.0761, allocations: 4 kB / 381.1 MB, free: 13.54 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001918/0.0763, allocations: 4 kB / 381.1 MB, free: 13.54 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 7.419e-05/0.07638, allocations: 95.23 kB / 381.2 MB, free: 13.44 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.07656, allocations: 35.97 kB / 381.3 MB, free: 13.4 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.07657, allocations: 4 kB / 381.3 MB, free: 13.4 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.807e-05/0.07665, allocations: 19.92 kB / 381.3 MB, free: 13.38 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.07681, allocations: 16.06 kB / 381.3 MB, free: 13.36 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/0.0771, allocations: 144.9 kB / 381.4 MB, free: 13.19 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.07734, allocations: 0.677 MB / 382.1 MB, free: 12.48 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.07737, allocations: 11.44 kB / 382.1 MB, free: 12.47 MB / 286.1 MB Notification: Performance of SimCode: time 3.31e-07/0.07738, allocations: 0 / 382.1 MB, free: 12.47 MB / 286.1 MB Notification: Performance of Templates: time 0.001678/0.07906, allocations: 0.602 MB / 382.7 MB, free: 11.87 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)