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.0009711/0.0009708, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.000978/0.0009779, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.289/1.289, allocations: 205.1 MB / 222 MB, free: 4.992 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008001/0.008001, allocations: 1.924 MB / 271.3 MB, free: 3.781 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.00125/0.00125, allocations: 67.84 kB / 329.2 MB, free: 33.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07546/0.07673, allocations: 47.14 MB / 376.3 MB, free: 2.117 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.002261/0.07902, allocations: 1.444 MB / 377.7 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002161/0.07925, allocations: 99.73 kB / 377.8 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.511e-05/0.0793, allocations: 7.938 kB / 377.8 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.03e-05/0.07933, allocations: 0 / 377.8 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 3.978e-05/0.07938, allocations: 0 / 377.8 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000138/0.07953, allocations: 11.92 kB / 377.8 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.864e-05/0.07959, allocations: 27.86 kB / 377.9 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.5e-05/0.0797, allocations: 8 kB / 377.9 MB, free: 0.5 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.876e-05/0.07973, allocations: 11.98 kB / 377.9 MB, free: 500 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.032e-05/0.0798, allocations: 15.92 kB / 377.9 MB, free: 484 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.07982, allocations: 0 / 377.9 MB, free: 484 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.07983, allocations: 0 / 377.9 MB, free: 484 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.07986, allocations: 4 kB / 377.9 MB, free: 480 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.637e-05/0.07991, allocations: 15.92 kB / 377.9 MB, free: 464 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 7.564e-05/0.07999, allocations: 19.86 kB / 377.9 MB, free: 444 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.08, allocations: 0 / 377.9 MB, free: 444 kB / 270.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.08001, allocations: 0 / 377.9 MB, free: 444 kB / 270.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.08002, allocations: 0 / 377.9 MB, free: 444 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.0004609/0.08048, allocations: 347.7 kB / 378.3 MB, free: 44 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.08052, allocations: 8.031 kB / 378.3 MB, free: 36 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.08056, allocations: 8.938 kB / 378.3 MB, free: 28 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.567e-05/0.08066, allocations: 168.3 kB / 378.5 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.08069, allocations: 384 / 378.5 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.0807, allocations: 4.375 kB / 378.5 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.08085, allocations: 50.23 kB / 378.5 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.08087, allocations: 4.125 kB / 378.5 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.08089, allocations: 11.94 kB / 378.5 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.0809, allocations: 0 / 378.5 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.08102, allocations: 23.97 kB / 378.6 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.08136, allocations: 253 kB / 378.8 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.08154, allocations: 62.47 kB / 378.9 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.801e-05/0.08161, allocations: 24.94 kB / 378.9 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.08163, allocations: 3.938 kB / 378.9 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.08181, allocations: 67.38 kB / 379 MB, free: 15.25 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.462e-06/0.08182, allocations: 0 / 379 MB, free: 15.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002831/0.08211, allocations: 93.56 kB / 379.1 MB, free: 15.15 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.08217, allocations: 59.39 kB / 379.1 MB, free: 15.08 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.455e-05/0.08223, allocations: 101.8 kB / 379.2 MB, free: 14.97 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.08225, allocations: 25.7 kB / 379.2 MB, free: 14.94 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.08229, allocations: 85.28 kB / 379.3 MB, free: 14.86 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.08232, allocations: 15.83 kB / 379.3 MB, free: 14.84 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.08235, allocations: 13.72 kB / 379.4 MB, free: 14.82 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.517e-05/0.08245, allocations: 322.8 kB / 379.7 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.869e-05/0.08251, allocations: 11.98 kB / 379.7 MB, free: 14.48 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.936e-05/0.08258, allocations: 30.56 kB / 379.7 MB, free: 14.45 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.0827, allocations: 62.48 kB / 379.8 MB, free: 14.38 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.08271, allocations: 3.938 kB / 379.8 MB, free: 14.37 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001541/0.08287, allocations: 73.59 kB / 379.8 MB, free: 14.29 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.08289, allocations: 4 kB / 379.8 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.0829, allocations: 0 / 379.8 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.08291, allocations: 4 kB / 379.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.825e-05/0.08298, allocations: 8 kB / 379.9 MB, free: 14.28 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.083, allocations: 12.05 kB / 379.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.689e-05/0.08304, allocations: 7.906 kB / 379.9 MB, free: 14.26 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.08305, allocations: 0 / 379.9 MB, free: 14.26 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 6.661e-05/0.08312, allocations: 117.7 kB / 380 MB, free: 14.13 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.08314, allocations: 4 kB / 380 MB, free: 14.13 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.369e-05/0.08317, allocations: 7.5 kB / 380 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.08318, allocations: 3.984 kB / 380 MB, free: 14.11 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.08318, allocations: 384 / 380 MB, free: 14.11 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.08319, allocations: 0 / 380 MB, free: 14.11 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.08332, allocations: 165.6 kB / 380.2 MB, free: 13.9 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.08333, allocations: 4 kB / 380.2 MB, free: 13.9 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-05/0.08338, allocations: 11.92 kB / 380.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.08339, allocations: 0 / 380.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.0834, allocations: 4 kB / 380.2 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.08341, allocations: 4 kB / 380.2 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.08341, allocations: 3.938 kB / 380.2 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.0836, allocations: 101 kB / 380.3 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/0.08364, allocations: 81.3 kB / 380.4 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.08366, allocations: 4 kB / 380.4 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.222e-05/0.0837, allocations: 3.984 kB / 380.4 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.08375, allocations: 7.984 kB / 380.4 MB, free: 13.64 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.08376, allocations: 0 / 380.4 MB, free: 13.64 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.581e-05/0.0838, allocations: 87.27 kB / 380.5 MB, free: 13.56 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.0838, allocations: 0 / 380.5 MB, free: 13.56 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001833/0.08399, allocations: 8 kB / 380.5 MB, free: 13.55 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.412e-05/0.08407, allocations: 99.19 kB / 380.6 MB, free: 13.45 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.08424, allocations: 35.97 kB / 380.6 MB, free: 13.41 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.08425, allocations: 0 / 380.6 MB, free: 13.41 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.238e-05/0.08433, allocations: 27.92 kB / 380.6 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.0001363/0.08447, allocations: 3.938 kB / 380.6 MB, free: 13.38 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002467/0.08473, allocations: 127.4 kB / 380.8 MB, free: 13.23 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.08493, allocations: 0.677 MB / 381.4 MB, free: 12.52 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.5e-05/0.08496, allocations: 3.984 kB / 381.5 MB, free: 12.52 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.08499, allocations: 11.44 kB / 381.5 MB, free: 12.51 MB / 286.1 MB Notification: Performance of SimCode: time 2.81e-07/0.085, allocations: 0 / 381.5 MB, free: 12.51 MB / 286.1 MB Notification: Performance of Templates: time 0.001773/0.08677, allocations: 361.3 kB / 381.8 MB, free: 12.16 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)