Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks") translateModel(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_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.002458/0.002458, allocations: 186.1 kB / 16.44 MB, free: 5.672 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.936/1.936, allocations: 205.4 MB / 222.6 MB, free: 9.129 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.001126/0.001126, allocations: 82.92 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09777/0.09777, allocations: 12.59 MB / 331.8 MB, free: 11.4 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005497/0.0005497, allocations: 12 kB / 392 MB, free: 66.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0896/0.09017, allocations: 50.36 MB / 442.3 MB, free: 16.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4096/0.4999, allocations: 78.15 MB / 0.5083 GB, free: 12.78 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.5002, allocations: 63.31 kB / 0.5083 GB, free: 12.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006449/0.5066, allocations: 1.565 MB / 0.5099 GB, free: 12.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.5067, allocations: 3.875 kB / 0.5099 GB, free: 12.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.5067, allocations: 0 / 0.5099 GB, free: 12.33 MB / 330.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.0005467/0.5073, allocations: 391.7 kB / 0.5102 GB, free: 11.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.5073, allocations: 11.53 kB / 0.5103 GB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/0.5074, allocations: 11.66 kB / 0.5103 GB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.5076, allocations: 190.9 kB / 0.5104 GB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.5077, allocations: 7.125 kB / 0.5105 GB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.5077, allocations: 7.797 kB / 0.5105 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.508, allocations: 124.8 kB / 0.5106 GB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.508, allocations: 0 / 0.5106 GB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.508, allocations: 0 / 0.5106 GB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.508, allocations: 0 / 0.5106 GB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.524e-05/0.5081, allocations: 11.08 kB / 0.5106 GB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.5085, allocations: 269.7 kB / 0.5109 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.182e-05/0.5086, allocations: 29.7 kB / 0.5109 GB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.5086, allocations: 0 / 0.5109 GB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001242/0.5088, allocations: 58.77 kB / 0.5109 GB, free: 11.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.5088, allocations: 3.938 kB / 0.5109 GB, free: 11.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002137/0.509, allocations: 63.31 kB / 0.511 GB, free: 11.19 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.5091, allocations: 59.25 kB / 0.5111 GB, free: 11.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.5092, allocations: 134.5 kB / 0.5112 GB, free: 11.01 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.5092, allocations: 29.64 kB / 0.5112 GB, free: 10.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.5093, allocations: 162.1 kB / 0.5114 GB, free: 10.83 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.5093, allocations: 3.906 kB / 0.5114 GB, free: 10.83 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.5093, allocations: 0 / 0.5114 GB, free: 10.83 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.013e-05/0.5094, allocations: 314.8 kB / 0.5117 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.574e-05/0.5094, allocations: 3.875 kB / 0.5117 GB, free: 10.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.704e-05/0.5095, allocations: 29.39 kB / 0.5117 GB, free: 10.49 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.531e-05/0.5095, allocations: 7.719 kB / 0.5117 GB, free: 10.49 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.5096, allocations: 3.953 kB / 0.5117 GB, free: 10.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001146/0.5097, allocations: 56.78 kB / 0.5118 GB, free: 10.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.5097, allocations: 7.812 kB / 0.5118 GB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.5097, allocations: 0 / 0.5118 GB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.5098, allocations: 3.938 kB / 0.5118 GB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.349e-05/0.5098, allocations: 7.688 kB / 0.5118 GB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.5098, allocations: 4.031 kB / 0.5118 GB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.51, allocations: 7.828 kB / 0.5118 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.51, allocations: 3.844 kB / 0.5118 GB, free: 10.43 MB / 330.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 0.0001454/0.5101, allocations: 125.2 kB / 0.5119 GB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.5102, allocations: 11.73 kB / 0.5119 GB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.707e-05/0.5102, allocations: 15.14 kB / 0.5119 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.5102, allocations: 0 / 0.5119 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.5103, allocations: 3.844 kB / 0.5119 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.5103, allocations: 4 kB / 0.512 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004593/0.5107, allocations: 318.1 kB / 0.5123 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5108, allocations: 0 / 0.5123 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.284e-05/0.5108, allocations: 4.719 kB / 0.5123 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.5108, allocations: 0 / 0.5123 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.5108, allocations: 0 / 0.5123 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.5108, allocations: 4.641 kB / 0.5123 GB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5108, allocations: 0 / 0.5123 GB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.511, allocations: 158.4 kB / 0.5124 GB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-05/0.5111, allocations: 100.8 kB / 0.5125 GB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.5111, allocations: 4.812 kB / 0.5125 GB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.5112, allocations: 3.844 kB / 0.5125 GB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.5113, allocations: 11.84 kB / 0.5125 GB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.5113, allocations: 0 / 0.5125 GB, free: 9.707 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001023/0.5114, allocations: 118.6 kB / 0.5126 GB, free: 9.621 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5115, allocations: 0 / 0.5126 GB, free: 9.621 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002976/0.5118, allocations: 7.75 kB / 0.5127 GB, free: 9.621 MB / 330.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 0.000104/0.5119, allocations: 94.72 kB / 0.5127 GB, free: 9.531 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.512, allocations: 26.52 kB / 0.5128 GB, free: 9.523 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.512, allocations: 0 / 0.5128 GB, free: 9.523 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.913e-05/0.5121, allocations: 11.19 kB / 0.5128 GB, free: 9.523 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.5124, allocations: 27.66 kB / 0.5128 GB, free: 9.508 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.5129, allocations: 207.5 kB / 0.513 GB, free: 9.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.513, allocations: 0.6962 MB / 0.5137 GB, free: 8.609 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.5131, allocations: 11.41 kB / 0.5137 GB, free: 8.602 MB / 330.7 MB Notification: Performance of SimCode: time 8.62e-07/0.5131, allocations: 4 kB / 0.5137 GB, free: 8.598 MB / 330.7 MB Notification: Performance of Templates: time 0.002738/0.5159, allocations: 0.8835 MB / 0.5146 GB, free: 8.152 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe 2>&1)