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.00118/0.00118, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001137/0.001137, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.134/1.134, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007125/0.007125, allocations: 1.943 MB / 272.4 MB, free: 10.15 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.001396/0.001396, allocations: 68.53 kB / 330.5 MB, free: 15.93 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06911/0.07051, allocations: 47.13 MB / 377.6 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.1118/0.1823, allocations: 1.381 MB / 379 MB, free: 52.49 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001979/0.1825, allocations: 98.06 kB / 379.1 MB, free: 52.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.1826, allocations: 0 / 379.1 MB, free: 52.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/0.1827, allocations: 3.375 kB / 379.1 MB, free: 52.46 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.603e-05/0.1827, allocations: 1.781 kB / 379.1 MB, free: 52.46 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001146/0.1828, allocations: 17.66 kB / 379.1 MB, free: 52.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.529e-05/0.1829, allocations: 20.73 kB / 379.2 MB, free: 52.46 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.84e-05/0.183, allocations: 10.84 kB / 379.2 MB, free: 52.46 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.91e-05/0.183, allocations: 8.438 kB / 379.2 MB, free: 52.46 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.081e-05/0.183, allocations: 15.05 kB / 379.2 MB, free: 52.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.1831, allocations: 0 / 379.2 MB, free: 52.46 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.904e-06/0.1831, allocations: 2.312 kB / 379.2 MB, free: 52.46 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.1831, allocations: 16.17 kB / 379.2 MB, free: 52.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.1831, allocations: 13.56 kB / 379.2 MB, free: 52.46 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 5.373e-05/0.1832, allocations: 16.95 kB / 379.2 MB, free: 52.45 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.1832, allocations: 0 / 379.2 MB, free: 52.45 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1832, allocations: 0.625 kB / 379.2 MB, free: 52.45 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.1832, allocations: 0 / 379.2 MB, free: 52.45 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.0003157/0.1835, allocations: 342.2 kB / 379.6 MB, free: 52.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.479e-05/0.1836, allocations: 15.55 kB / 379.6 MB, free: 52.1 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.471e-05/0.1836, allocations: 0.9375 kB / 379.6 MB, free: 52.1 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.171e-05/0.1836, allocations: 171.4 kB / 379.8 MB, free: 51.9 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.1837, allocations: 6.781 kB / 379.8 MB, free: 51.9 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.1837, allocations: 7.141 kB / 379.8 MB, free: 51.9 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.1838, allocations: 46.36 kB / 379.8 MB, free: 51.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1838, allocations: 4.062 kB / 379.8 MB, free: 51.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.1838, allocations: 3.938 kB / 379.8 MB, free: 51.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.1838, allocations: 3.938 kB / 379.8 MB, free: 51.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.1839, allocations: 26.58 kB / 379.9 MB, free: 51.86 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002124/0.1842, allocations: 249.4 kB / 380.1 MB, free: 51.6 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.1843, allocations: 66.2 kB / 380.2 MB, free: 51.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.418e-05/0.1844, allocations: 18.23 kB / 380.2 MB, free: 51.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.1844, allocations: 3.875 kB / 380.2 MB, free: 51.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.1846, allocations: 69.64 kB / 380.3 MB, free: 51.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.1846, allocations: 0 / 380.3 MB, free: 51.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002472/0.1848, allocations: 87.38 kB / 380.3 MB, free: 51.49 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/0.1848, allocations: 56.42 kB / 380.4 MB, free: 51.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.793e-05/0.1849, allocations: 103.5 kB / 380.5 MB, free: 51.33 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.372e-06/0.1849, allocations: 26.8 kB / 380.5 MB, free: 51.3 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.644e-05/0.1849, allocations: 85.09 kB / 380.6 MB, free: 51.21 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.1849, allocations: 18.17 kB / 380.6 MB, free: 51.2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.185, allocations: 17.06 kB / 380.6 MB, free: 51.19 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 2.978e-05/0.185, allocations: 318.3 kB / 380.9 MB, free: 50.87 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.444e-05/0.1851, allocations: 20.3 kB / 381 MB, free: 50.87 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.274e-05/0.1851, allocations: 32.03 kB / 381 MB, free: 50.85 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.1852, allocations: 58.8 kB / 381.1 MB, free: 50.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1852, allocations: 5.375 kB / 381.1 MB, free: 50.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001649/0.1854, allocations: 78.11 kB / 381.1 MB, free: 50.79 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.1854, allocations: 5.562 kB / 381.1 MB, free: 50.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1854, allocations: 4.562 kB / 381.1 MB, free: 50.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1855, allocations: 1.094 kB / 381.1 MB, free: 50.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.658e-05/0.1855, allocations: 13.03 kB / 381.2 MB, free: 50.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1855, allocations: 2.188 kB / 381.2 MB, free: 50.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.484e-05/0.1856, allocations: 9.984 kB / 381.2 MB, free: 50.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.1856, allocations: 1.062 kB / 381.2 MB, free: 50.79 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 3.921e-05/0.1856, allocations: 117 kB / 381.3 MB, free: 50.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.1856, allocations: 9.953 kB / 381.3 MB, free: 50.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.884e-05/0.1857, allocations: 10.44 kB / 381.3 MB, free: 50.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.1857, allocations: 1 kB / 381.3 MB, free: 50.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1857, allocations: 1.969 kB / 381.3 MB, free: 50.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.1857, allocations: 0 / 381.3 MB, free: 50.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.996e-05/0.1858, allocations: 162.4 kB / 381.5 MB, free: 50.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1858, allocations: 0 / 381.5 MB, free: 50.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.792e-05/0.1858, allocations: 8.422 kB / 381.5 MB, free: 50.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1858, allocations: 2.656 kB / 381.5 MB, free: 50.46 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.1858, allocations: 1.844 kB / 381.5 MB, free: 50.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1858, allocations: 0 / 381.5 MB, free: 50.46 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1858, allocations: 7.562 kB / 381.5 MB, free: 50.46 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.186, allocations: 102.3 kB / 381.6 MB, free: 50.4 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.427e-05/0.186, allocations: 82.02 kB / 381.7 MB, free: 50.3 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.186, allocations: 4.094 kB / 381.7 MB, free: 50.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.908e-05/0.1861, allocations: 7.375 kB / 381.7 MB, free: 50.3 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.1861, allocations: 3.797 kB / 381.7 MB, free: 50.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.1861, allocations: 2.188 kB / 381.7 MB, free: 50.3 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.955e-05/0.1862, allocations: 81.62 kB / 381.8 MB, free: 50.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1862, allocations: 1.031 kB / 381.8 MB, free: 50.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001746/0.1863, allocations: 13 kB / 381.8 MB, free: 50.22 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 4.763e-05/0.1864, allocations: 98.12 kB / 381.9 MB, free: 50.14 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.1866, allocations: 38.12 kB / 381.9 MB, free: 50.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.1866, allocations: 0.9688 kB / 381.9 MB, free: 50.14 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.665e-05/0.1866, allocations: 26 kB / 381.9 MB, free: 50.14 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.1868, allocations: 9.125 kB / 381.9 MB, free: 50.13 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002058/0.187, allocations: 146.5 kB / 382.1 MB, free: 49.99 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.072e-05/0.1871, allocations: 0.6779 MB / 382.8 MB, free: 49.3 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.033e-05/0.1871, allocations: 9.656 kB / 382.8 MB, free: 49.29 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1871, allocations: 1.188 kB / 382.8 MB, free: 49.29 MB / 318.1 MB Notification: Performance of Templates: time 0.001455/0.1885, allocations: 0.5972 MB / 383.4 MB, free: 49.28 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)