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.0009426/0.0009426, allocations: 172.5 kB / 16.8 MB, free: 4.906 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.591/1.591, allocations: 205.4 MB / 223 MB, free: 9.02 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.0008189/0.000819, allocations: 89.02 kB / 271.3 MB, free: 8.238 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.08595/0.08595, allocations: 12.6 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005191/0.0005191, allocations: 16 kB / 393.2 MB, free: 65.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1083, allocations: 50.37 MB / 443.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.346/0.4543, allocations: 78.18 MB / 0.5095 GB, free: 13.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.4546, allocations: 63.83 kB / 0.5096 GB, free: 13.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003799/0.4584, allocations: 1.562 MB / 0.5111 GB, free: 12.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4584, allocations: 0 / 0.5111 GB, free: 12.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.4584, allocations: 4 kB / 0.5111 GB, free: 12.76 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.000347/0.4588, allocations: 384.6 kB / 0.5115 GB, free: 12.37 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.4588, allocations: 7.812 kB / 0.5115 GB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.4589, allocations: 12.47 kB / 0.5115 GB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.459, allocations: 207.4 kB / 0.5117 GB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.459, allocations: 4.125 kB / 0.5117 GB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.459, allocations: 4.219 kB / 0.5117 GB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.4592, allocations: 130.2 kB / 0.5118 GB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.4593, allocations: 0 / 0.5118 GB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.4593, allocations: 0 / 0.5118 GB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.4593, allocations: 7.969 kB / 0.5119 GB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.655e-05/0.4593, allocations: 10.67 kB / 0.5119 GB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.4596, allocations: 258.6 kB / 0.5121 GB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.392e-05/0.4597, allocations: 28.69 kB / 0.5121 GB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.4597, allocations: 8.734 kB / 0.5121 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.4597, allocations: 3.938 kB / 0.5121 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.468e-05/0.4598, allocations: 61.88 kB / 0.5122 GB, free: 11.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.4598, allocations: 0 / 0.5122 GB, free: 11.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001507/0.46, allocations: 63.31 kB / 0.5123 GB, free: 11.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.46, allocations: 59.23 kB / 0.5123 GB, free: 11.54 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.4601, allocations: 140.4 kB / 0.5125 GB, free: 11.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.4601, allocations: 29.69 kB / 0.5125 GB, free: 11.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.486e-05/0.4602, allocations: 94.89 kB / 0.5126 GB, free: 11.31 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/0.4602, allocations: 15.09 kB / 0.5126 GB, free: 11.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.4602, allocations: 3.812 kB / 0.5126 GB, free: 11.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.827e-05/0.4602, allocations: 322.7 kB / 0.5129 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.4603, allocations: 7.906 kB / 0.5129 GB, free: 10.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.965e-05/0.4603, allocations: 22.19 kB / 0.5129 GB, free: 10.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.339e-05/0.4603, allocations: 31.81 kB / 0.513 GB, free: 10.94 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4603, allocations: 4 kB / 0.513 GB, free: 10.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.712e-05/0.4604, allocations: 60.27 kB / 0.513 GB, free: 10.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.4604, allocations: 8.828 kB / 0.513 GB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4604, allocations: 0 / 0.513 GB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.4605, allocations: 3.938 kB / 0.513 GB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.767e-05/0.4605, allocations: 0 / 0.513 GB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.4605, allocations: 0 / 0.513 GB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.32e-05/0.4606, allocations: 11.38 kB / 0.513 GB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.4606, allocations: 3.938 kB / 0.5131 GB, free: 10.89 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 6.714e-05/0.4607, allocations: 135.4 kB / 0.5132 GB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.4607, allocations: 7.781 kB / 0.5132 GB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.4607, allocations: 11.53 kB / 0.5132 GB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.4607, allocations: 0 / 0.5132 GB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4607, allocations: 3.984 kB / 0.5132 GB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.4607, allocations: 0 / 0.5132 GB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.461, allocations: 327.6 kB / 0.5135 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.461, allocations: 0 / 0.5135 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-06/0.461, allocations: 0 / 0.5135 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.461, allocations: 0 / 0.5135 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.461, allocations: 0 / 0.5135 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.461, allocations: 7.875 kB / 0.5135 GB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.461, allocations: 3.719 kB / 0.5135 GB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.144e-05/0.4611, allocations: 149.4 kB / 0.5137 GB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.4612, allocations: 95.97 kB / 0.5138 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.4612, allocations: 4 kB / 0.5138 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.48e-05/0.4613, allocations: 15.58 kB / 0.5138 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.4613, allocations: 3.984 kB / 0.5138 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.4613, allocations: 3.812 kB / 0.5138 GB, free: 10.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.431e-05/0.4614, allocations: 114.3 kB / 0.5139 GB, free: 10.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4614, allocations: 0 / 0.5139 GB, free: 10.08 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002041/0.4616, allocations: 7.812 kB / 0.5139 GB, free: 10.08 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 6.588e-05/0.4617, allocations: 97.69 kB / 0.514 GB, free: 9.988 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.903e-05/0.4618, allocations: 27.23 kB / 0.514 GB, free: 9.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4618, allocations: 0 / 0.514 GB, free: 9.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.509e-05/0.4618, allocations: 15.09 kB / 0.514 GB, free: 9.977 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.4621, allocations: 20.42 kB / 0.5141 GB, free: 9.969 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.4624, allocations: 179.9 kB / 0.5142 GB, free: 9.805 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.4626, allocations: 0.6956 MB / 0.5149 GB, free: 9.098 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.997e-05/0.4626, allocations: 7.656 kB / 0.5149 GB, free: 9.094 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.4626, allocations: 11.31 kB / 0.5149 GB, free: 9.086 MB / 330.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4626, allocations: 0 / 0.5149 GB, free: 9.086 MB / 330.7 MB Notification: Performance of Templates: time 0.002572/0.4652, allocations: 0.6779 MB / 0.5156 GB, free: 8.742 MB / 330.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)