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/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/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.002153/0.002153, allocations: 181.3 kB / 17.46 MB, free: 4.363 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.324/1.324, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0006721/0.0006725, allocations: 85.42 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07121/0.07121, allocations: 12.2 MB / 332.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004327/0.0004327, allocations: 12 kB / 392.7 MB, free: 67.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06757/0.06802, allocations: 50.29 MB / 443 MB, free: 16.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2455/0.3136, allocations: 78.14 MB / 0.5089 GB, free: 13.09 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001711/0.3138, allocations: 61.3 kB / 0.509 GB, free: 13.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004823/0.3186, allocations: 2.092 MB / 0.511 GB, free: 12.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3186, allocations: 0 / 0.511 GB, free: 12.51 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.3187, allocations: 4 kB / 0.511 GB, free: 12.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.0003358/0.319, allocations: 391.9 kB / 0.5114 GB, free: 12.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.319, allocations: 11.62 kB / 0.5114 GB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.3191, allocations: 8.656 kB / 0.5114 GB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.3192, allocations: 209.3 kB / 0.5116 GB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.3192, allocations: 384 / 0.5116 GB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.3193, allocations: 4.188 kB / 0.5116 GB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.3195, allocations: 139.1 kB / 0.5118 GB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.3195, allocations: 3.875 kB / 0.5118 GB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.3195, allocations: 0 / 0.5118 GB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3195, allocations: 4 kB / 0.5118 GB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.311e-05/0.3195, allocations: 10.59 kB / 0.5118 GB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002396/0.3198, allocations: 265.1 kB / 0.512 GB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.304e-05/0.3198, allocations: 26.11 kB / 0.5121 GB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.58e-05/0.3199, allocations: 4.859 kB / 0.5121 GB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.3199, allocations: 7.844 kB / 0.5121 GB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.279e-05/0.32, allocations: 64.84 kB / 0.5121 GB, free: 11.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.32, allocations: 0 / 0.5121 GB, free: 11.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001356/0.3201, allocations: 62.91 kB / 0.5122 GB, free: 11.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.3202, allocations: 58.53 kB / 0.5122 GB, free: 11.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.3203, allocations: 150.8 kB / 0.5124 GB, free: 11.15 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.3203, allocations: 25.7 kB / 0.5124 GB, free: 11.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.222e-05/0.3203, allocations: 91.52 kB / 0.5125 GB, free: 11.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.103e-05/0.3203, allocations: 7.719 kB / 0.5125 GB, free: 11.03 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.3203, allocations: 2.625 kB / 0.5125 GB, free: 11.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.791e-05/0.3204, allocations: 321.4 kB / 0.5128 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/0.3204, allocations: 6.688 kB / 0.5128 GB, free: 10.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.897e-05/0.3204, allocations: 28.64 kB / 0.5129 GB, free: 10.69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.142e-05/0.3205, allocations: 22.25 kB / 0.5129 GB, free: 10.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3205, allocations: 4 kB / 0.5129 GB, free: 10.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.694e-05/0.3205, allocations: 62.84 kB / 0.5129 GB, free: 10.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.3206, allocations: 3.844 kB / 0.5129 GB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.3206, allocations: 3.875 kB / 0.5129 GB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3206, allocations: 0 / 0.5129 GB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.632e-05/0.3206, allocations: 3.812 kB / 0.5129 GB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3206, allocations: 3.938 kB / 0.513 GB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.655e-05/0.3207, allocations: 7.859 kB / 0.513 GB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.3207, allocations: 7.781 kB / 0.513 GB, free: 10.62 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 5.668e-05/0.3208, allocations: 122.1 kB / 0.5131 GB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.3208, allocations: 7.812 kB / 0.5131 GB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.3208, allocations: 14.92 kB / 0.5131 GB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3208, allocations: 0 / 0.5131 GB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3208, allocations: 0 / 0.5131 GB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3208, allocations: 3.938 kB / 0.5131 GB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.3211, allocations: 335.1 kB / 0.5134 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3211, allocations: 0 / 0.5134 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.171e-06/0.3211, allocations: 0 / 0.5134 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.3211, allocations: 3.906 kB / 0.5134 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.3211, allocations: 0 / 0.5134 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3211, allocations: 3.938 kB / 0.5134 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3211, allocations: 0 / 0.5134 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.661e-05/0.3212, allocations: 158.4 kB / 0.5136 GB, free: 10 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.3213, allocations: 96.09 kB / 0.5137 GB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.3213, allocations: 128 / 0.5137 GB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.198e-05/0.3214, allocations: 15.62 kB / 0.5137 GB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.3214, allocations: 7.922 kB / 0.5137 GB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.3214, allocations: 3.844 kB / 0.5137 GB, free: 9.883 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.078e-05/0.3215, allocations: 112.8 kB / 0.5138 GB, free: 9.801 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3215, allocations: 0 / 0.5138 GB, free: 9.801 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000208/0.3217, allocations: 11.19 kB / 0.5138 GB, free: 9.801 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 5.021e-05/0.3218, allocations: 94.41 kB / 0.5139 GB, free: 9.711 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.488e-05/0.3218, allocations: 26.67 kB / 0.5139 GB, free: 9.703 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3219, allocations: 0 / 0.5139 GB, free: 9.703 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.694e-05/0.3219, allocations: 10.69 kB / 0.514 GB, free: 9.703 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.3222, allocations: 19.62 kB / 0.514 GB, free: 9.695 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.3225, allocations: 209.1 kB / 0.5142 GB, free: 9.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.3226, allocations: 0.6922 MB / 0.5148 GB, free: 8.797 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.3227, allocations: 15.27 kB / 0.5149 GB, free: 8.785 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3227, allocations: 0 / 0.5149 GB, free: 8.785 MB / 330.7 MB Notification: Performance of Templates: time 0.001784/0.3244, allocations: 0.9056 MB / 0.5157 GB, free: 8.328 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)