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/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0008881/0.0008882, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01021/0.01021, allocations: 1.924 MB / 9.997 MB, free: 0.582 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.278/1.278, allocations: 205.3 MB / 216.2 MB, free: 15.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008196/0.0008196, allocations: 86.52 kB / 264.8 MB, free: 15.26 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.334e-05/1.338e-05, allocations: 0 / 319 MB, free: 19.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07488/0.07491, allocations: 48.09 MB / 367.1 MB, free: 3.586 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2726/0.3475, allocations: 74.19 MB / 441.3 MB, free: 3.789 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001921/0.3478, allocations: 60.53 kB / 441.4 MB, free: 3.758 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001677/0.3495, allocations: 0.6701 MB / 442.1 MB, free: 3.152 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3495, allocations: 0 / 442.1 MB, free: 3.152 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.3495, allocations: 4 kB / 442.1 MB, free: 3.148 MB / 314.7 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.0003325/0.3498, allocations: 330.5 kB / 442.4 MB, free: 2.781 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3499, allocations: 8.031 kB / 442.4 MB, free: 2.773 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.3499, allocations: 4.531 kB / 442.4 MB, free: 2.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.35, allocations: 178.9 kB / 442.6 MB, free: 2.555 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.3501, allocations: 0 / 442.6 MB, free: 2.555 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.3501, allocations: 3.953 kB / 442.6 MB, free: 2.551 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.013e-05/0.3502, allocations: 11.25 kB / 442.6 MB, free: 2.543 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.538e-05/0.3502, allocations: 36.5 kB / 442.6 MB, free: 2.504 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3502, allocations: 4 kB / 442.6 MB, free: 2.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.3503, allocations: 4 kB / 442.6 MB, free: 2.496 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3503, allocations: 0 / 442.6 MB, free: 2.496 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.3506, allocations: 228.5 kB / 442.8 MB, free: 2.246 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.765e-05/0.3507, allocations: 42.38 kB / 442.9 MB, free: 2.199 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.566e-05/0.3507, allocations: 12.8 kB / 442.9 MB, free: 2.188 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.527e-06/0.3507, allocations: 8 kB / 442.9 MB, free: 2.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.3509, allocations: 59.28 kB / 443 MB, free: 2.113 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.3509, allocations: 0.8438 kB / 443 MB, free: 2.113 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001521/0.351, allocations: 57.06 kB / 443 MB, free: 2.059 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.3511, allocations: 51.41 kB / 443.1 MB, free: 1.996 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.469e-05/0.3512, allocations: 96.83 kB / 443.2 MB, free: 1.898 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.3512, allocations: 25.7 kB / 443.2 MB, free: 1.867 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.3512, allocations: 91.98 kB / 443.3 MB, free: 1.777 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.3513, allocations: 3.906 kB / 443.3 MB, free: 1.773 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.3513, allocations: 0 / 443.3 MB, free: 1.773 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3514, allocations: 322.7 kB / 443.6 MB, free: 1.453 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/0.3515, allocations: 4.844 kB / 443.6 MB, free: 1.449 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.724e-05/0.3515, allocations: 22.02 kB / 443.6 MB, free: 1.422 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.039e-05/0.3515, allocations: 11.88 kB / 443.6 MB, free: 1.414 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3515, allocations: 0 / 443.6 MB, free: 1.414 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.413e-05/0.3516, allocations: 57.33 kB / 443.7 MB, free: 1.355 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.3516, allocations: 4 kB / 443.7 MB, free: 1.352 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3516, allocations: 4 kB / 443.7 MB, free: 1.348 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3517, allocations: 0 / 443.7 MB, free: 1.348 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.827e-05/0.3517, allocations: 11.98 kB / 443.7 MB, free: 1.336 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3517, allocations: 7.938 kB / 443.7 MB, free: 1.328 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.601e-05/0.3518, allocations: 15.95 kB / 443.7 MB, free: 1.312 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.3518, allocations: 2.688 kB / 443.7 MB, free: 1.312 MB / 314.7 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 () * 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 6.596e-05/0.3519, allocations: 108.9 kB / 443.8 MB, free: 1.199 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.3519, allocations: 3.953 kB / 443.9 MB, free: 1.195 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.3519, allocations: 11.44 kB / 443.9 MB, free: 1.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.3519, allocations: 0 / 443.9 MB, free: 1.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.352, allocations: 0 / 443.9 MB, free: 1.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.352, allocations: 0 / 443.9 MB, free: 1.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.3521, allocations: 137.9 kB / 444 MB, free: 1.012 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3521, allocations: 4 kB / 444 MB, free: 1.008 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.3521, allocations: 8 kB / 444 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3522, allocations: 0 / 444 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.3522, allocations: 4 kB / 444 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3522, allocations: 3.953 kB / 444 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3522, allocations: 3.984 kB / 444 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.983e-05/0.3523, allocations: 72.25 kB / 444.1 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.3523, allocations: 88.95 kB / 444.2 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.3524, allocations: 4 kB / 444.2 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.193e-05/0.3524, allocations: 15.31 kB / 444.2 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.3525, allocations: 11.94 kB / 444.2 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.3525, allocations: 0 / 444.2 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.41e-05/0.3525, allocations: 79.66 kB / 444.3 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3525, allocations: 0 / 444.3 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001919/0.3527, allocations: 4 kB / 444.3 MB, free: 0.6914 MB / 314.7 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 () * 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 8.707e-05/0.3528, allocations: 98.88 kB / 444.4 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.207e-05/0.3529, allocations: 18.92 kB / 444.4 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.3529, allocations: 0 / 444.4 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.456e-05/0.3529, allocations: 15.42 kB / 444.4 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000101/0.353, allocations: 0 / 444.4 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001786/0.3532, allocations: 62.62 kB / 444.5 MB, free: 496 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.3535, allocations: 0.6807 MB / 445.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.861e-05/0.3535, allocations: 12.2 kB / 445.2 MB, free: 15.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.3535, allocations: 11.38 kB / 445.2 MB, free: 15.76 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3535, allocations: 0 / 445.2 MB, free: 15.76 MB / 330.7 MB Notification: Performance of Templates: time 0.001729/0.3553, allocations: 329.6 kB / 445.5 MB, free: 15.45 MB / 330.7 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)