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.008734/0.008734, allocations: 99.84 kB / 15.73 MB, free: 6 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.002075/0.002075, allocations: 189.9 kB / 16.67 MB, free: 5.922 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.363/1.363, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008764/0.008764, allocations: 1.924 MB / 271.8 MB, free: 3.266 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.001549/0.001549, allocations: 67.89 kB / 378.2 MB, free: 432 kB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09868/0.1002, allocations: 47.14 MB / 425.4 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.1905/0.2908, allocations: 1.366 MB / 426.7 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002849/0.2912, allocations: 99.55 kB / 426.8 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.56e-05/0.2912, allocations: 1.469 kB / 426.8 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.936e-05/0.2913, allocations: 1.312 kB / 426.8 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.47e-05/0.2914, allocations: 3.469 kB / 426.9 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.2915, allocations: 16.38 kB / 426.9 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.733e-05/0.2916, allocations: 36.69 kB / 426.9 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.842e-05/0.2917, allocations: 6.672 kB / 426.9 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.162e-05/0.2917, allocations: 8.969 kB / 426.9 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.896e-05/0.2918, allocations: 12.7 kB / 426.9 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.2918, allocations: 1.188 kB / 426.9 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.266e-06/0.2918, allocations: 6.375 kB / 426.9 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.2919, allocations: 6.875 kB / 426.9 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.2919, allocations: 17.2 kB / 427 MB, free: 11.05 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.757e-05/0.292, allocations: 22.78 kB / 427 MB, free: 11.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.292, allocations: 1.062 kB / 427 MB, free: 11.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.292, allocations: 0 / 427 MB, free: 11.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.292, allocations: 0 / 427 MB, free: 11.05 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.0004302/0.2925, allocations: 341.2 kB / 427.3 MB, free: 10.7 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2925, allocations: 13.92 kB / 427.3 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.2926, allocations: 3.875 kB / 427.3 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.488e-05/0.2926, allocations: 176 kB / 427.5 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.2927, allocations: 2.141 kB / 427.5 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.2927, allocations: 1.375 kB / 427.5 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.2928, allocations: 47.83 kB / 427.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.2929, allocations: 2.688 kB / 427.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.2929, allocations: 3.938 kB / 427.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2929, allocations: 4.812 kB / 427.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.293, allocations: 27.47 kB / 427.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003665/0.2934, allocations: 258.2 kB / 427.8 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.2936, allocations: 57.84 kB / 427.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.637e-05/0.2937, allocations: 24.17 kB / 427.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.2937, allocations: 0 / 427.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.2939, allocations: 72.66 kB / 428 MB, free: 10.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.2939, allocations: 0 / 428 MB, free: 10.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002929/0.2942, allocations: 96 kB / 428.1 MB, free: 10.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.2943, allocations: 53.89 kB / 428.1 MB, free: 10 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.176e-05/0.2943, allocations: 104.5 kB / 428.2 MB, free: 9.902 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.2943, allocations: 27.11 kB / 428.3 MB, free: 9.871 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.499e-05/0.2944, allocations: 85.8 kB / 428.4 MB, free: 9.789 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.2944, allocations: 10.91 kB / 428.4 MB, free: 9.781 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.2944, allocations: 18.83 kB / 428.4 MB, free: 9.766 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.492e-05/0.2945, allocations: 316.6 kB / 428.7 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.072e-05/0.2945, allocations: 16.86 kB / 428.7 MB, free: 9.453 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.088e-05/0.2946, allocations: 36.7 kB / 428.7 MB, free: 9.426 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.2947, allocations: 50.41 kB / 428.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2947, allocations: 3.938 kB / 428.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001571/0.2949, allocations: 84.55 kB / 428.9 MB, free: 9.352 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.2949, allocations: 9.25 kB / 428.9 MB, free: 9.348 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2949, allocations: 1.406 kB / 428.9 MB, free: 9.348 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.295, allocations: 1.812 kB / 428.9 MB, free: 9.348 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.633e-05/0.295, allocations: 9.719 kB / 428.9 MB, free: 9.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.295, allocations: 6.328 kB / 428.9 MB, free: 9.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.838e-05/0.2951, allocations: 9.766 kB / 428.9 MB, free: 9.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.2951, allocations: 1.719 kB / 428.9 MB, free: 9.34 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 6.02e-05/0.2952, allocations: 116.7 kB / 429 MB, free: 9.223 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.2952, allocations: 5.469 kB / 429 MB, free: 9.219 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.904e-05/0.2952, allocations: 13.05 kB / 429.1 MB, free: 9.215 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2952, allocations: 1.562 kB / 429.1 MB, free: 9.215 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2952, allocations: 0 / 429.1 MB, free: 9.215 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2952, allocations: 0.9844 kB / 429.1 MB, free: 9.215 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.105e-05/0.2953, allocations: 162 kB / 429.2 MB, free: 9.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2954, allocations: 0.6875 kB / 429.2 MB, free: 9.023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-05/0.2954, allocations: 7.859 kB / 429.2 MB, free: 9.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2954, allocations: 1.156 kB / 429.2 MB, free: 9.023 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.2954, allocations: 1 kB / 429.2 MB, free: 9.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.2954, allocations: 7.812 kB / 429.2 MB, free: 9.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/0.2954, allocations: 0.8438 kB / 429.2 MB, free: 9.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.2956, allocations: 107.7 kB / 429.3 MB, free: 8.945 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.2956, allocations: 79.39 kB / 429.4 MB, free: 8.852 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.2957, allocations: 1.5 kB / 429.4 MB, free: 8.852 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.884e-05/0.2957, allocations: 7.594 kB / 429.4 MB, free: 8.852 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.2957, allocations: 7.703 kB / 429.4 MB, free: 8.848 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.2957, allocations: 1.375 kB / 429.4 MB, free: 8.848 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.633e-05/0.2958, allocations: 83.88 kB / 429.5 MB, free: 8.773 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2958, allocations: 1.312 kB / 429.5 MB, free: 8.773 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001912/0.296, allocations: 5.156 kB / 429.5 MB, free: 8.773 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 6.881e-05/0.2961, allocations: 89.08 kB / 429.6 MB, free: 8.684 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.2962, allocations: 48.62 kB / 429.7 MB, free: 8.676 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.2962, allocations: 1.219 kB / 429.7 MB, free: 8.676 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.298e-05/0.2963, allocations: 20.39 kB / 429.7 MB, free: 8.676 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.2965, allocations: 10.11 kB / 429.7 MB, free: 8.672 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002592/0.2967, allocations: 107.5 kB / 429.8 MB, free: 8.566 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.777e-05/0.2969, allocations: 0.6785 MB / 430.5 MB, free: 7.871 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.414e-05/0.2969, allocations: 10.17 kB / 430.5 MB, free: 7.863 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.2969, allocations: 10.12 kB / 430.5 MB, free: 7.855 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2969, allocations: 0 / 430.5 MB, free: 7.855 MB / 318.1 MB Notification: Performance of Templates: time 0.002392/0.2993, allocations: 412.9 kB / 430.9 MB, free: 7.828 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)