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.0009067/0.0009066, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008645/0.0008646, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008543/0.008543, allocations: 1.924 MB / 272.3 MB, free: 3.418 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.0005306/0.0005308, allocations: 16 kB / 330.9 MB, free: 33.38 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07651/0.07705, allocations: 48.11 MB / 379 MB, free: 1.23 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.001464/0.07857, allocations: 1.097 MB / 380.1 MB, free: 120 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002378/0.07882, allocations: 91.75 kB / 380.1 MB, free: 28 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.14e-05/0.07887, allocations: 4 kB / 380.2 MB, free: 24 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.296e-05/0.07889, allocations: 4 kB / 380.2 MB, free: 20 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 4.255e-05/0.07894, allocations: 0 / 380.2 MB, free: 20 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.0791, allocations: 11.94 kB / 380.2 MB, free: 8 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 7.397e-05/0.07918, allocations: 16.03 kB / 380.2 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.499e-05/0.07927, allocations: 4 kB / 380.2 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.45e-05/0.07931, allocations: 11.92 kB / 380.2 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.383e-05/0.07937, allocations: 7.875 kB / 380.2 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.07939, allocations: 4 kB / 380.2 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.468e-06/0.07941, allocations: 0 / 380.2 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.07943, allocations: 15.97 kB / 380.2 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.07948, allocations: 29.7 kB / 380.3 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.77e-05/0.07954, allocations: 7.984 kB / 380.3 MB, free: 15.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.07955, allocations: 3.938 kB / 380.3 MB, free: 15.9 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.07956, allocations: 0 / 380.3 MB, free: 15.9 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.07957, allocations: 0 / 380.3 MB, free: 15.9 MB / 286.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.0005438/0.08012, allocations: 343.5 kB / 380.6 MB, free: 15.52 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.08017, allocations: 12.03 kB / 380.6 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.08021, allocations: 4 kB / 380.6 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.08037, allocations: 159.1 kB / 380.8 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.08041, allocations: 7.984 kB / 380.8 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.08043, allocations: 0 / 380.8 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.08059, allocations: 53.64 kB / 380.8 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.08061, allocations: 0 / 380.8 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.08063, allocations: 7.938 kB / 380.8 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.08064, allocations: 7.984 kB / 380.8 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.08077, allocations: 35.91 kB / 380.9 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.08118, allocations: 260.8 kB / 381.1 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.08138, allocations: 62.55 kB / 381.2 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.0814, allocations: 0 / 381.2 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/0.08161, allocations: 79.47 kB / 381.3 MB, free: 14.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.08162, allocations: 0 / 381.3 MB, free: 14.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002951/0.08192, allocations: 97.66 kB / 381.4 MB, free: 14.62 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.08197, allocations: 55.41 kB / 381.4 MB, free: 14.56 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.793e-05/0.08205, allocations: 101.8 kB / 381.5 MB, free: 14.45 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.08208, allocations: 29.7 kB / 381.6 MB, free: 14.41 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.08213, allocations: 84.14 kB / 381.6 MB, free: 14.33 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.08216, allocations: 15.73 kB / 381.7 MB, free: 14.31 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.08217, allocations: 0 / 381.7 MB, free: 14.31 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.08228, allocations: 322.8 kB / 382 MB, free: 13.99 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.062e-05/0.08235, allocations: 19.98 kB / 382 MB, free: 13.97 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.646e-05/0.08243, allocations: 42.5 kB / 382 MB, free: 13.92 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.23e-05/0.0825, allocations: 23.92 kB / 382.1 MB, free: 13.89 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.08251, allocations: 4 kB / 382.1 MB, free: 13.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001542/0.08267, allocations: 81.56 kB / 382.1 MB, free: 13.8 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.08269, allocations: 4 kB / 382.1 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.08271, allocations: 3.984 kB / 382.1 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.08272, allocations: 4.375 kB / 382.1 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.992e-05/0.0828, allocations: 12.06 kB / 382.2 MB, free: 13.78 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.08281, allocations: 0 / 382.2 MB, free: 13.78 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.08286, allocations: 19.98 kB / 382.2 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.08287, allocations: 0 / 382.2 MB, free: 13.76 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,$PRE.dutyCycleGenerator.offTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.642e-05/0.08295, allocations: 109.8 kB / 382.3 MB, free: 13.64 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.178e-06/0.08296, allocations: 3.953 kB / 382.3 MB, free: 13.64 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.08299, allocations: 11.5 kB / 382.3 MB, free: 13.62 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.083, allocations: 0 / 382.3 MB, free: 13.62 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.08301, allocations: 4 kB / 382.3 MB, free: 13.62 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.08302, allocations: 3.938 kB / 382.3 MB, free: 13.62 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.08315, allocations: 169.5 kB / 382.5 MB, free: 13.4 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.08316, allocations: 0 / 382.5 MB, free: 13.4 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-05/0.08321, allocations: 11.98 kB / 382.5 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.08322, allocations: 3.953 kB / 382.5 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.08323, allocations: 3.938 kB / 382.5 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.08324, allocations: 0 / 382.5 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.08324, allocations: 0 / 382.5 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.08342, allocations: 109.3 kB / 382.6 MB, free: 13.26 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.08347, allocations: 85.14 kB / 382.7 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.08349, allocations: 3.953 kB / 382.7 MB, free: 13.15 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.957e-05/0.08354, allocations: 4 kB / 382.7 MB, free: 13.15 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.08358, allocations: 11.98 kB / 382.7 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.08359, allocations: 0 / 382.7 MB, free: 13.14 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.416e-05/0.08363, allocations: 83.28 kB / 382.8 MB, free: 13.05 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.723e-06/0.08363, allocations: 0 / 382.8 MB, free: 13.05 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001692/0.08381, allocations: 7.938 kB / 382.8 MB, free: 13.05 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.173e-05/0.08391, allocations: 91.25 kB / 382.9 MB, free: 12.95 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.08409, allocations: 55.95 kB / 382.9 MB, free: 12.89 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.0841, allocations: 0 / 382.9 MB, free: 12.89 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.394e-05/0.08417, allocations: 27.92 kB / 383 MB, free: 12.87 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.473e-05/0.08428, allocations: 7.938 kB / 383 MB, free: 12.86 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002535/0.08454, allocations: 118 kB / 383.1 MB, free: 12.72 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.0848, allocations: 0.6809 MB / 383.8 MB, free: 12.01 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.49e-05/0.08483, allocations: 4 kB / 383.8 MB, free: 12.01 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.142e-05/0.08486, allocations: 7.438 kB / 383.8 MB, free: 12 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.08486, allocations: 0 / 383.8 MB, free: 12 MB / 286.1 MB Notification: Performance of Templates: time 0.001874/0.08674, allocations: 348.7 kB / 384.1 MB, free: 11.66 MB / 286.1 MB make -j1 -f MEV_MEV.Test.TestDutyCycleGenerator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: