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.001356/0.001356, allocations: 104.8 kB / 16.35 MB, free: 5.824 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.001253/0.001252, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.407/1.407, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008904/0.008904, allocations: 1.939 MB / 272.5 MB, free: 10.07 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.001379/0.001379, allocations: 64.47 kB / 331.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2431, allocations: 47.13 MB / 378.4 MB, free: 53.1 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.002674/0.2459, allocations: 1.386 MB / 379.8 MB, free: 52.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002595/0.2462, allocations: 87.16 kB / 379.9 MB, free: 52.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.2462, allocations: 0 / 379.9 MB, free: 52.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.786e-05/0.2462, allocations: 3.094 kB / 379.9 MB, free: 52.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.277e-05/0.2463, allocations: 9.109 kB / 379.9 MB, free: 52.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.2465, allocations: 10.23 kB / 379.9 MB, free: 52.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.817e-05/0.2465, allocations: 32.58 kB / 379.9 MB, free: 52.81 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.664e-05/0.2466, allocations: 9.188 kB / 379.9 MB, free: 52.81 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.002e-05/0.2467, allocations: 12.09 kB / 379.9 MB, free: 52.81 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.814e-05/0.2467, allocations: 13.27 kB / 380 MB, free: 52.81 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.2468, allocations: 2.25 kB / 380 MB, free: 52.81 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-06/0.2468, allocations: 2.375 kB / 380 MB, free: 52.81 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.2468, allocations: 8.047 kB / 380 MB, free: 52.81 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.2468, allocations: 16.2 kB / 380 MB, free: 52.81 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.739e-05/0.2469, allocations: 31.39 kB / 380 MB, free: 52.8 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2469, allocations: 0 / 380 MB, free: 52.8 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2469, allocations: 0 / 380 MB, free: 52.8 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.2469, allocations: 0 / 380 MB, free: 52.8 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.0004304/0.2474, allocations: 339.6 kB / 380.4 MB, free: 52.45 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.2474, allocations: 13.92 kB / 380.4 MB, free: 52.45 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.2475, allocations: 8.219 kB / 380.4 MB, free: 52.45 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.197e-05/0.2475, allocations: 167.5 kB / 380.5 MB, free: 52.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.2476, allocations: 1.656 kB / 380.5 MB, free: 52.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.2476, allocations: 1.344 kB / 380.5 MB, free: 52.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.2477, allocations: 49.64 kB / 380.6 MB, free: 52.22 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.2477, allocations: 3.094 kB / 380.6 MB, free: 52.22 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.2477, allocations: 7.812 kB / 380.6 MB, free: 52.21 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2478, allocations: 0 / 380.6 MB, free: 52.21 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.2479, allocations: 33.39 kB / 380.6 MB, free: 52.21 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.2482, allocations: 251.2 kB / 380.9 MB, free: 51.95 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.2483, allocations: 57.89 kB / 380.9 MB, free: 51.92 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.886e-05/0.2484, allocations: 24.91 kB / 381 MB, free: 51.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.2484, allocations: 4.906 kB / 381 MB, free: 51.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.2486, allocations: 64.11 kB / 381 MB, free: 51.87 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.934e-06/0.2486, allocations: 1.188 kB / 381 MB, free: 51.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002851/0.2489, allocations: 88.33 kB / 381.1 MB, free: 51.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.2489, allocations: 56.47 kB / 381.2 MB, free: 51.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.122e-05/0.249, allocations: 105.5 kB / 381.3 MB, free: 51.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.249, allocations: 27.3 kB / 381.3 MB, free: 51.64 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.958e-05/0.2491, allocations: 86.03 kB / 381.4 MB, free: 51.56 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.2491, allocations: 13.75 kB / 381.4 MB, free: 51.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.2491, allocations: 19.19 kB / 381.4 MB, free: 51.54 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.82e-05/0.2492, allocations: 317 kB / 381.7 MB, free: 51.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.932e-05/0.2492, allocations: 18.58 kB / 381.7 MB, free: 51.22 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.765e-05/0.2493, allocations: 33.83 kB / 381.8 MB, free: 51.2 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.2494, allocations: 56.14 kB / 381.8 MB, free: 51.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2494, allocations: 3.938 kB / 381.8 MB, free: 51.17 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001527/0.2496, allocations: 79.94 kB / 381.9 MB, free: 51.14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.2496, allocations: 5.469 kB / 381.9 MB, free: 51.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.2496, allocations: 1.312 kB / 381.9 MB, free: 51.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.2496, allocations: 1.156 kB / 381.9 MB, free: 51.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.834e-05/0.2497, allocations: 15.08 kB / 381.9 MB, free: 51.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2497, allocations: 0 / 381.9 MB, free: 51.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.449e-05/0.2498, allocations: 7.781 kB / 381.9 MB, free: 51.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.2498, allocations: 2.188 kB / 381.9 MB, free: 51.14 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 5.6e-05/0.2498, allocations: 122.6 kB / 382.1 MB, free: 51.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.2498, allocations: 5.156 kB / 382.1 MB, free: 51.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.2499, allocations: 8.328 kB / 382.1 MB, free: 51 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2499, allocations: 1.156 kB / 382.1 MB, free: 51 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2499, allocations: 0 / 382.1 MB, free: 51 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2499, allocations: 4 kB / 382.1 MB, free: 51 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.904e-05/0.25, allocations: 162.1 kB / 382.2 MB, free: 50.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.25, allocations: 1.094 kB / 382.2 MB, free: 50.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.2501, allocations: 13.08 kB / 382.3 MB, free: 50.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2501, allocations: 0 / 382.3 MB, free: 50.81 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.2501, allocations: 2.375 kB / 382.3 MB, free: 50.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2501, allocations: 0 / 382.3 MB, free: 50.81 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2501, allocations: 4.484 kB / 382.3 MB, free: 50.81 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.2503, allocations: 104.8 kB / 382.4 MB, free: 50.74 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.2503, allocations: 84.12 kB / 382.4 MB, free: 50.64 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.2503, allocations: 1.922 kB / 382.4 MB, free: 50.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.006e-05/0.2504, allocations: 5.062 kB / 382.5 MB, free: 50.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.2504, allocations: 6.672 kB / 382.5 MB, free: 50.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.2504, allocations: 5.516 kB / 382.5 MB, free: 50.64 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.675e-05/0.2504, allocations: 82.09 kB / 382.5 MB, free: 50.57 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2504, allocations: 0 / 382.5 MB, free: 50.57 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001794/0.2506, allocations: 10.34 kB / 382.6 MB, free: 50.56 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 7.505e-05/0.2507, allocations: 93.17 kB / 382.6 MB, free: 50.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.2509, allocations: 43.16 kB / 382.7 MB, free: 50.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2509, allocations: 3.938 kB / 382.7 MB, free: 50.47 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.755e-05/0.251, allocations: 22.11 kB / 382.7 MB, free: 50.47 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.2511, allocations: 7.031 kB / 382.7 MB, free: 50.47 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.2514, allocations: 117.5 kB / 382.8 MB, free: 50.37 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.2516, allocations: 0.6781 MB / 383.5 MB, free: 49.67 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.23e-05/0.2516, allocations: 2.188 kB / 383.5 MB, free: 49.67 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.2516, allocations: 10.25 kB / 383.5 MB, free: 49.67 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2516, allocations: 0 / 383.5 MB, free: 49.67 MB / 318.1 MB Notification: Performance of Templates: time 0.002303/0.2539, allocations: 413 kB / 383.9 MB, free: 49.64 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 -s cvode -lv LOG_STATS > MEV_MEV.Test.TestDutyCycleGenerator.pipe 2>&1)