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.002265/0.002265, allocations: 184.6 kB / 13.7 MB, free: 1.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001078/0.001078, allocations: 90.64 kB / 267.6 MB, free: 14.1 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.09393/0.09393, allocations: 12.6 MB / 328.2 MB, free: 11.16 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.521e-05/3.524e-05, allocations: 0 / 386 MB, free: 1.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2906, allocations: 50.37 MB / 436.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1347/0.4254, allocations: 78.06 MB / 0.5023 GB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.4256, allocations: 55.97 kB / 0.5024 GB, free: 15.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00639/0.432, allocations: 1.561 MB / 0.5039 GB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4321, allocations: 0 / 0.5039 GB, free: 14.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.67e-05/0.4321, allocations: 4 kB / 0.5039 GB, free: 14.36 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.0004759/0.4326, allocations: 362.3 kB / 0.5043 GB, free: 13.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.4327, allocations: 12.03 kB / 0.5043 GB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.4327, allocations: 11.91 kB / 0.5043 GB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.433, allocations: 203.3 kB / 0.5045 GB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.433, allocations: 4 kB / 0.5045 GB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.4331, allocations: 7.953 kB / 0.5045 GB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.4334, allocations: 132.7 kB / 0.5046 GB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.4334, allocations: 0 / 0.5046 GB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.4334, allocations: 0 / 0.5046 GB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4334, allocations: 0 / 0.5046 GB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.088e-05/0.4335, allocations: 7.938 kB / 0.5046 GB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.4339, allocations: 260.9 kB / 0.5049 GB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.242e-05/0.434, allocations: 30.58 kB / 0.5049 GB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.434, allocations: 12.91 kB / 0.5049 GB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.434, allocations: 4 kB / 0.5049 GB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001237/0.4342, allocations: 59.33 kB / 0.505 GB, free: 13.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.943e-06/0.4342, allocations: 0 / 0.505 GB, free: 13.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002119/0.4344, allocations: 57.59 kB / 0.505 GB, free: 13.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.4345, allocations: 55.41 kB / 0.5051 GB, free: 12.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.4346, allocations: 134.1 kB / 0.5052 GB, free: 12.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.4347, allocations: 29.69 kB / 0.5052 GB, free: 12.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.4348, allocations: 158.6 kB / 0.5054 GB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.4348, allocations: 7.906 kB / 0.5054 GB, free: 12.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.4348, allocations: 0 / 0.5054 GB, free: 12.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.4349, allocations: 310.8 kB / 0.5057 GB, free: 12.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.225e-05/0.435, allocations: 8 kB / 0.5057 GB, free: 12.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.21e-05/0.435, allocations: 25.72 kB / 0.5057 GB, free: 12.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.808e-05/0.4351, allocations: 11.89 kB / 0.5057 GB, free: 12.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.4351, allocations: 3.984 kB / 0.5057 GB, free: 12.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001127/0.4352, allocations: 53.64 kB / 0.5058 GB, free: 12.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4352, allocations: 4 kB / 0.5058 GB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4353, allocations: 4 kB / 0.5058 GB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.4353, allocations: 3.984 kB / 0.5058 GB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.774e-05/0.4354, allocations: 3.938 kB / 0.5058 GB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.4354, allocations: 8.031 kB / 0.5058 GB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.569e-05/0.4355, allocations: 4 kB / 0.5058 GB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.4355, allocations: 0 / 0.5058 GB, free: 12.16 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 () * 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.254e-05/0.4356, allocations: 112.7 kB / 0.5059 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.4356, allocations: 15.89 kB / 0.5059 GB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.146e-05/0.4357, allocations: 8.031 kB / 0.506 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4357, allocations: 0 / 0.506 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4357, allocations: 4.125 kB / 0.506 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4357, allocations: 0 / 0.506 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004746/0.4362, allocations: 330.5 kB / 0.5063 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4362, allocations: 0 / 0.5063 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.618e-06/0.4362, allocations: 0 / 0.5063 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.4363, allocations: 0 / 0.5063 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.4363, allocations: 7.938 kB / 0.5063 GB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4363, allocations: 0 / 0.5063 GB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.4363, allocations: 7.984 kB / 0.5063 GB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.4365, allocations: 155.4 kB / 0.5064 GB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.289e-05/0.4366, allocations: 93 kB / 0.5065 GB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.4366, allocations: 0 / 0.5065 GB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.4367, allocations: 4 kB / 0.5065 GB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.4368, allocations: 11.92 kB / 0.5065 GB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.4368, allocations: 192 / 0.5065 GB, free: 11.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.4369, allocations: 120.6 kB / 0.5067 GB, free: 11.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.437, allocations: 0 / 0.5067 GB, free: 11.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002754/0.4372, allocations: 4 kB / 0.5067 GB, free: 11.21 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 () * 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.000102/0.4374, allocations: 95.25 kB / 0.5068 GB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.4375, allocations: 31.97 kB / 0.5068 GB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4375, allocations: 0 / 0.5068 GB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.031e-05/0.4376, allocations: 11.94 kB / 0.5068 GB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.4379, allocations: 20.5 kB / 0.5068 GB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.4383, allocations: 143 kB / 0.5069 GB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.4386, allocations: 0.7043 MB / 0.5076 GB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.4386, allocations: 11.44 kB / 0.5076 GB, free: 10.13 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.4386, allocations: 0 / 0.5076 GB, free: 10.13 MB / 362.7 MB Notification: Performance of Templates: time 0.003027/0.4417, allocations: 0.8806 MB / 0.5085 GB, free: 9.25 MB / 362.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)