Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) 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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks") translateModel(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 178 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009135/0.0009132, allocations: 90.8 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07647/0.07647, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004354, allocations: 16.72 kB / 392 MB, free: 54.85 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1091, allocations: 50.37 MB / 442.4 MB, free: 10.96 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.105/0.2142, allocations: 78.15 MB / 0.5083 GB, free: 12.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.2144, allocations: 59.97 kB / 0.5084 GB, free: 12.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00403/0.2184, allocations: 1.564 MB / 0.5099 GB, free: 11.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2185, allocations: 0 / 0.5099 GB, free: 11.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.2185, allocations: 7.938 kB / 0.5099 GB, free: 11.08 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000414/0.2189, allocations: 387 kB / 0.5103 GB, free: 10.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.2189, allocations: 12.03 kB / 0.5103 GB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.219, allocations: 11.81 kB / 0.5103 GB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.2192, allocations: 199.2 kB / 0.5105 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.2192, allocations: 0 / 0.5105 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.2192, allocations: 11.95 kB / 0.5105 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.2194, allocations: 123.5 kB / 0.5106 GB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.2195, allocations: 0 / 0.5106 GB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.2195, allocations: 3.984 kB / 0.5106 GB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2195, allocations: 0 / 0.5106 GB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.742e-05/0.2195, allocations: 8 kB / 0.5106 GB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.2199, allocations: 264.9 kB / 0.5109 GB, free: 9.914 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.939e-05/0.2199, allocations: 34.52 kB / 0.5109 GB, free: 9.871 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-06/0.2199, allocations: 0 / 0.5109 GB, free: 9.871 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.89e-05/0.22, allocations: 55.45 kB / 0.511 GB, free: 9.805 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.22, allocations: 0 / 0.511 GB, free: 9.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001639/0.2202, allocations: 69.53 kB / 0.511 GB, free: 9.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.2203, allocations: 51.41 kB / 0.5111 GB, free: 9.668 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.2204, allocations: 134.1 kB / 0.5112 GB, free: 9.523 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.2204, allocations: 29.7 kB / 0.5112 GB, free: 9.488 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.2204, allocations: 92.12 kB / 0.5113 GB, free: 9.395 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.2205, allocations: 11.83 kB / 0.5113 GB, free: 9.383 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.2205, allocations: 8 kB / 0.5113 GB, free: 9.375 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.2206, allocations: 314.8 kB / 0.5116 GB, free: 9.059 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.2206, allocations: 8 kB / 0.5116 GB, free: 9.051 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.994e-05/0.2206, allocations: 17.72 kB / 0.5117 GB, free: 9.027 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.827e-05/0.2207, allocations: 12 kB / 0.5117 GB, free: 9.016 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2207, allocations: 3.953 kB / 0.5117 GB, free: 9.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.661e-05/0.2207, allocations: 61.53 kB / 0.5117 GB, free: 8.945 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2208, allocations: 8 kB / 0.5117 GB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2208, allocations: 0 / 0.5117 GB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.2208, allocations: 3.938 kB / 0.5117 GB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.805e-05/0.2208, allocations: 7.984 kB / 0.5118 GB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2208, allocations: 128 / 0.5118 GB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.777e-05/0.2209, allocations: 12.03 kB / 0.5118 GB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.2209, allocations: 3.938 kB / 0.5118 GB, free: 8.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$whenCondition2) * 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 8.773e-05/0.221, allocations: 133.5 kB / 0.5119 GB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.221, allocations: 11.86 kB / 0.5119 GB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.2211, allocations: 8.25 kB / 0.5119 GB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.2211, allocations: 0 / 0.5119 GB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2211, allocations: 0 / 0.5119 GB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2211, allocations: 0 / 0.5119 GB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.2214, allocations: 334.5 kB / 0.5122 GB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2214, allocations: 0 / 0.5122 GB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.352e-06/0.2214, allocations: 0 / 0.5122 GB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.2214, allocations: 3.984 kB / 0.5122 GB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.2215, allocations: 3.938 kB / 0.5122 GB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2215, allocations: 0 / 0.5122 GB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2215, allocations: 0 / 0.5122 GB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.2216, allocations: 163.7 kB / 0.5124 GB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.2216, allocations: 89 kB / 0.5125 GB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.2217, allocations: 8 kB / 0.5125 GB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.42e-05/0.2218, allocations: 7.984 kB / 0.5125 GB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.2218, allocations: 4 kB / 0.5125 GB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.2218, allocations: 0 / 0.5125 GB, free: 8.059 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.674e-05/0.2219, allocations: 112.6 kB / 0.5126 GB, free: 7.949 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2219, allocations: 0 / 0.5126 GB, free: 7.949 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000198/0.2221, allocations: 16 kB / 0.5126 GB, free: 7.934 MB / 362.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: 4 (booleanPulse.y,$whenCondition1,booleanPulse.pulseStart,$whenCondition2) * 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 8.197e-05/0.2222, allocations: 95.23 kB / 0.5127 GB, free: 7.828 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.844e-05/0.2223, allocations: 19.94 kB / 0.5127 GB, free: 7.809 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2223, allocations: 0 / 0.5127 GB, free: 7.809 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.917e-05/0.2223, allocations: 19.98 kB / 0.5128 GB, free: 7.789 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.2225, allocations: 16.47 kB / 0.5128 GB, free: 7.773 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.2229, allocations: 189.3 kB / 0.513 GB, free: 7.559 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.2231, allocations: 0.6926 MB / 0.5136 GB, free: 6.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.017e-05/0.2231, allocations: 11.77 kB / 0.5136 GB, free: 6.828 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.577e-05/0.2232, allocations: 11.44 kB / 0.5136 GB, free: 6.816 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2232, allocations: 4 kB / 0.5137 GB, free: 6.812 MB / 362.7 MB Notification: Performance of Templates: time 0.002401/0.2256, allocations: 0.6636 MB / 0.5143 GB, free: 6.156 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe 2>&1)