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.002992/0.002997, allocations: 181.6 kB / 16.44 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.321/4.321, allocations: 205.4 MB / 222.6 MB, free: 9.125 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.00199/0.00199, allocations: 90.86 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.2235/0.2235, allocations: 12.6 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009619/0.0009622, allocations: 20 kB / 392 MB, free: 66.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1712, allocations: 50.37 MB / 442.3 MB, free: 16.49 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks): time 0.003149/0.1745, allocations: 1.187 MB / 443.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.176, allocations: 480.8 kB / 444 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.1762, allocations: 4 kB / 444 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.126e-05/0.1763, allocations: 3.938 kB / 444 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.1766, allocations: 19.91 kB / 444 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000704/0.1773, allocations: 55.83 kB / 444.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.1775, allocations: 43.89 kB / 444.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.1778, allocations: 7.984 kB / 444.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.264e-05/0.1779, allocations: 19.92 kB / 444.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.178, allocations: 23.86 kB / 444.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.175e-05/0.1781, allocations: 0 / 444.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.059e-05/0.1781, allocations: 7.938 kB / 444.2 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.455e-05/0.1782, allocations: 11.92 kB / 444.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.572e-05/0.1783, allocations: 37.7 kB / 444.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.1785, allocations: 35.88 kB / 444.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1786, allocations: 0 / 444.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.989e-06/0.1786, allocations: 4 kB / 444.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.1786, allocations: 0 / 444.3 MB, free: 14.54 MB / 298.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.001024/0.1796, allocations: 387.2 kB / 444.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.892e-05/0.1797, allocations: 12.03 kB / 444.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.143e-05/0.1798, allocations: 11.81 kB / 444.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/0.1803, allocations: 199.3 kB / 444.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.1803, allocations: 7.984 kB / 444.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.1804, allocations: 8 kB / 444.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004794/0.1809, allocations: 119.5 kB / 445 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1809, allocations: 0 / 445 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.181, allocations: 4 kB / 445 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.181, allocations: 0 / 445 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.493e-05/0.1811, allocations: 11.98 kB / 445 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006847/0.1818, allocations: 264.9 kB / 445.3 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.182, allocations: 30.5 kB / 445.3 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.182, allocations: 64 / 445.3 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002327/0.1823, allocations: 55.41 kB / 445.4 MB, free: 13.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 3.166e-06/0.1823, allocations: 0 / 445.4 MB, free: 13.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000351/0.1827, allocations: 65.53 kB / 445.4 MB, free: 13.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.1828, allocations: 67.33 kB / 445.5 MB, free: 13.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.183, allocations: 143 kB / 445.6 MB, free: 12.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1831, allocations: 25.7 kB / 445.7 MB, free: 12.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.008e-05/0.1832, allocations: 162.5 kB / 445.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.1832, allocations: 15.89 kB / 445.8 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.1832, allocations: 0 / 445.8 MB, free: 12.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.952e-05/0.1833, allocations: 318.7 kB / 446.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.079e-05/0.1834, allocations: 8 kB / 446.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.64e-05/0.1835, allocations: 29.7 kB / 446.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.772e-05/0.1835, allocations: 4 kB / 446.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.1836, allocations: 0 / 446.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001747/0.1837, allocations: 57.62 kB / 446.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.1838, allocations: 4 kB / 446.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.1838, allocations: 128 / 446.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.1838, allocations: 4 kB / 446.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.1839, allocations: 4 kB / 446.2 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.184, allocations: 0 / 446.2 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.1841, allocations: 12.03 kB / 446.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.1842, allocations: 3.984 kB / 446.3 MB, free: 12.3 MB / 298.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.0001567/0.1844, allocations: 129.5 kB / 446.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.1844, allocations: 7.906 kB / 446.4 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.425e-05/0.1845, allocations: 12.23 kB / 446.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.1845, allocations: 7.938 kB / 446.4 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1845, allocations: 0 / 446.4 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1845, allocations: 0 / 446.4 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006521/0.1852, allocations: 326.7 kB / 446.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.1852, allocations: 0 / 446.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.707e-05/0.1853, allocations: 8 kB / 446.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.1853, allocations: 4.031 kB / 446.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1853, allocations: 0 / 446.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.1853, allocations: 0 / 446.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.1854, allocations: 0 / 446.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.1856, allocations: 163.3 kB / 446.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.1859, allocations: 89 kB / 447 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.1859, allocations: 3.984 kB / 447 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.1862, allocations: 8 kB / 447 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.773e-05/0.1863, allocations: 11.92 kB / 447 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.1863, allocations: 4 kB / 447 MB, free: 11.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001677/0.1865, allocations: 107.8 kB / 447.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.1865, allocations: 4 kB / 447.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005809/0.1871, allocations: 8 kB / 447.1 MB, free: 11.32 MB / 298.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.0001499/0.1873, allocations: 99.25 kB / 447.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001881/0.1875, allocations: 23.92 kB / 447.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.1876, allocations: 0 / 447.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.034e-05/0.1877, allocations: 15.94 kB / 447.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000521/0.1882, allocations: 25.25 kB / 447.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007617/0.189, allocations: 211 kB / 447.5 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.1893, allocations: 0.6965 MB / 448.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.229e-05/0.1894, allocations: 11.44 kB / 448.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of SimCode: time 3.106e-06/0.1894, allocations: 0 / 448.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of Templates: time 0.009088/0.1985, allocations: 0.8787 MB / 449.1 MB, free: 9.297 MB / 298.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)