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.001141/0.001141, allocations: 181.9 kB / 13.23 MB, free: 2.082 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.699/1.699, allocations: 205.2 MB / 219 MB, free: 9.215 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.0008483/0.0008483, allocations: 90.53 kB / 267.1 MB, free: 9.285 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.08047/0.08047, allocations: 12.58 MB / 327.7 MB, free: 12.51 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.965e-05/2.968e-05, allocations: 0 / 386 MB, free: 69.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07893/0.07898, allocations: 50.37 MB / 436.4 MB, free: 19.25 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3252/0.4042, allocations: 78.06 MB / 0.5024 GB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.4045, allocations: 59.73 kB / 0.5024 GB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003743/0.4082, allocations: 1.555 MB / 0.5039 GB, free: 11.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4083, allocations: 0 / 0.5039 GB, free: 11.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.4083, allocations: 7.359 kB / 0.5039 GB, free: 11.5 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.0003099/0.4086, allocations: 370.5 kB / 0.5043 GB, free: 11.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.4087, allocations: 11.56 kB / 0.5043 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.958e-05/0.4087, allocations: 11.72 kB / 0.5043 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.4089, allocations: 198 kB / 0.5045 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.4089, allocations: 3.312 kB / 0.5045 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.4089, allocations: 7.828 kB / 0.5045 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.4091, allocations: 121.5 kB / 0.5046 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.4092, allocations: 3.875 kB / 0.5046 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.4092, allocations: 2.578 kB / 0.5046 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.4092, allocations: 0 / 0.5046 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.007e-05/0.4092, allocations: 10.88 kB / 0.5046 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.4095, allocations: 268.1 kB / 0.5049 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.234e-05/0.4096, allocations: 27.77 kB / 0.5049 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/0.4096, allocations: 16.58 kB / 0.5049 GB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.4096, allocations: 0 / 0.5049 GB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.401e-05/0.4097, allocations: 59.55 kB / 0.505 GB, free: 10.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4097, allocations: 4 kB / 0.505 GB, free: 10.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001487/0.4099, allocations: 50.69 kB / 0.5051 GB, free: 10.42 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.4099, allocations: 55.25 kB / 0.5051 GB, free: 10.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.4101, allocations: 138.7 kB / 0.5052 GB, free: 10.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.4101, allocations: 25.7 kB / 0.5053 GB, free: 10.22 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.4101, allocations: 93.3 kB / 0.5054 GB, free: 10.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.909e-06/0.4101, allocations: 3.906 kB / 0.5054 GB, free: 10.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.4101, allocations: 0 / 0.5054 GB, free: 10.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.175e-05/0.4102, allocations: 325.6 kB / 0.5057 GB, free: 9.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.652e-05/0.4102, allocations: 6.219 kB / 0.5057 GB, free: 9.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.016e-05/0.4102, allocations: 21 kB / 0.5057 GB, free: 9.801 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.243e-05/0.4103, allocations: 18.27 kB / 0.5057 GB, free: 9.797 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4103, allocations: 3.938 kB / 0.5057 GB, free: 9.793 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.619e-05/0.4103, allocations: 50.64 kB / 0.5058 GB, free: 9.762 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.4104, allocations: 3.844 kB / 0.5058 GB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.4104, allocations: 0 / 0.5058 GB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.4104, allocations: 4.031 kB / 0.5058 GB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.008e-05/0.4104, allocations: 7.781 kB / 0.5058 GB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.4104, allocations: 0.7031 kB / 0.5058 GB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.726e-05/0.4105, allocations: 14.59 kB / 0.5058 GB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.4105, allocations: 0 / 0.5058 GB, free: 9.754 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 () * 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 5.037e-05/0.4106, allocations: 112.6 kB / 0.5059 GB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.4106, allocations: 11.66 kB / 0.5059 GB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.9e-05/0.4106, allocations: 9.688 kB / 0.5059 GB, free: 9.629 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.4106, allocations: 7.844 kB / 0.5059 GB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.4106, allocations: 0 / 0.5059 GB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4107, allocations: 96 / 0.5059 GB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.4109, allocations: 331.7 kB / 0.5062 GB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4109, allocations: 0 / 0.5062 GB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-06/0.4109, allocations: 0 / 0.5062 GB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.411, allocations: 0 / 0.5062 GB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.411, allocations: 0 / 0.5062 GB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.411, allocations: 10.7 kB / 0.5063 GB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.411, allocations: 0 / 0.5063 GB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.74e-05/0.4111, allocations: 152.6 kB / 0.5064 GB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.4111, allocations: 90.34 kB / 0.5065 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.4111, allocations: 3.625 kB / 0.5065 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.824e-05/0.4112, allocations: 14.64 kB / 0.5065 GB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.4113, allocations: 6.891 kB / 0.5065 GB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.4113, allocations: 11.78 kB / 0.5065 GB, free: 9.066 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.441e-05/0.4114, allocations: 114.2 kB / 0.5066 GB, free: 8.988 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4114, allocations: 0 / 0.5066 GB, free: 8.988 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.4116, allocations: 7.625 kB / 0.5066 GB, free: 8.988 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 () * 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 7.024e-05/0.4117, allocations: 94.47 kB / 0.5067 GB, free: 8.902 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.386e-05/0.4117, allocations: 25.17 kB / 0.5068 GB, free: 8.902 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4118, allocations: 0 / 0.5068 GB, free: 8.902 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.797e-05/0.4118, allocations: 11.47 kB / 0.5068 GB, free: 8.898 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.412, allocations: 25.36 kB / 0.5068 GB, free: 8.891 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/0.4123, allocations: 109.5 kB / 0.5069 GB, free: 8.809 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.4124, allocations: 0.6943 MB / 0.5076 GB, free: 8.113 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.895e-05/0.4125, allocations: 3.844 kB / 0.5076 GB, free: 8.113 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.4125, allocations: 11.03 kB / 0.5076 GB, free: 8.105 MB / 330.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4125, allocations: 0 / 0.5076 GB, free: 8.105 MB / 330.7 MB Notification: Performance of Templates: time 0.002501/0.415, allocations: 0.683 MB / 0.5083 GB, free: 8.023 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)