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.001673/0.001674, allocations: 175.4 kB / 16.45 MB, free: 5.684 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.598/1.598, allocations: 205.4 MB / 222.6 MB, free: 9.105 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.00103/0.00103, allocations: 89.42 kB / 270.9 MB, free: 8.352 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.1083/0.1083, allocations: 12.59 MB / 331.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004444/0.0004444, allocations: 12 kB / 392 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06937/0.06983, allocations: 50.37 MB / 442.4 MB, free: 16.47 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks): time 0.001299/0.07118, allocations: 1.195 MB / 443.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006539/0.07186, allocations: 0.4961 MB / 444 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.574e-05/0.07197, allocations: 0 / 444 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.095e-05/0.07201, allocations: 7.922 kB / 444.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.07215, allocations: 11.92 kB / 444.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.07245, allocations: 59.88 kB / 444.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.673e-05/0.07255, allocations: 51.78 kB / 444.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.07266, allocations: 15.98 kB / 444.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.459e-05/0.0727, allocations: 19.92 kB / 444.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.255e-05/0.07275, allocations: 19.86 kB / 444.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.07277, allocations: 4 kB / 444.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.07279, allocations: 0 / 444.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.969e-05/0.07282, allocations: 11.94 kB / 444.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.07285, allocations: 37.62 kB / 444.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.959e-05/0.07294, allocations: 35.94 kB / 444.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.07295, allocations: 0 / 444.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.07296, allocations: 3.938 kB / 444.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.07297, allocations: 0 / 444.3 MB, free: 14.47 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.0004607/0.07344, allocations: 387.3 kB / 444.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.07349, allocations: 16.02 kB / 444.7 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.07354, allocations: 11.81 kB / 444.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.07373, allocations: 211.2 kB / 444.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.07376, allocations: 4 kB / 444.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.07378, allocations: 8 kB / 444.9 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.07399, allocations: 115.6 kB / 445.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.07401, allocations: 0 / 445.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.07402, allocations: 4 kB / 445.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.07404, allocations: 0 / 445.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.672e-05/0.07408, allocations: 11.94 kB / 445.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002827/0.07437, allocations: 268.9 kB / 445.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.853e-05/0.07443, allocations: 22.58 kB / 445.4 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.07445, allocations: 8.922 kB / 445.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-06/0.07446, allocations: 0 / 445.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/0.07459, allocations: 75.33 kB / 445.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.0746, allocations: 0 / 445.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000156/0.07476, allocations: 57.78 kB / 445.5 MB, free: 13.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.0748, allocations: 55.41 kB / 445.6 MB, free: 13.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.952e-05/0.07491, allocations: 151 kB / 445.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.07492, allocations: 25.7 kB / 445.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.307e-05/0.07496, allocations: 92.05 kB / 445.8 MB, free: 12.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.032e-05/0.07498, allocations: 7.906 kB / 445.8 MB, free: 12.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.07499, allocations: 0 / 445.8 MB, free: 12.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.139e-05/0.07505, allocations: 330.7 kB / 446.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.681e-05/0.07507, allocations: 8 kB / 446.2 MB, free: 12.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.977e-05/0.0751, allocations: 25.64 kB / 446.2 MB, free: 12.37 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.245e-05/0.07512, allocations: 11.98 kB / 446.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.07513, allocations: 0 / 446.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.2e-05/0.07521, allocations: 53.69 kB / 446.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.07523, allocations: 4 kB / 446.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.07524, allocations: 4.031 kB / 446.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.07526, allocations: 3.938 kB / 446.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.314e-05/0.07531, allocations: 4 kB / 446.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.07532, allocations: 0 / 446.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.55e-05/0.07539, allocations: 15.98 kB / 446.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.0754, allocations: 0 / 446.3 MB, free: 12.27 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 6.422e-05/0.07547, allocations: 121.6 kB / 446.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.07549, allocations: 11.81 kB / 446.4 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.07552, allocations: 24.17 kB / 446.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.07553, allocations: 0 / 446.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.07554, allocations: 4 kB / 446.4 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.07554, allocations: 0 / 446.4 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.0758, allocations: 326.4 kB / 446.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.07582, allocations: 0 / 446.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-06/0.07583, allocations: 0 / 446.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.07584, allocations: 4 kB / 446.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.07585, allocations: 4 kB / 446.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.07586, allocations: 0 / 446.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.07586, allocations: 0 / 446.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.176e-05/0.07595, allocations: 155.4 kB / 446.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.07599, allocations: 96.94 kB / 447 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.07601, allocations: 3.984 kB / 447 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.869e-05/0.07611, allocations: 4 kB / 447 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.868e-05/0.07614, allocations: 11.98 kB / 447 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.07615, allocations: 0 / 447 MB, free: 11.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.452e-05/0.07621, allocations: 115.8 kB / 447.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.07622, allocations: 0 / 447.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002201/0.07644, allocations: 8 kB / 447.1 MB, free: 11.3 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 5.817e-05/0.07651, allocations: 91.25 kB / 447.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.613e-05/0.07659, allocations: 27.92 kB / 447.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.0766, allocations: 64 / 447.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.587e-05/0.07664, allocations: 19.94 kB / 447.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.07694, allocations: 25.19 kB / 447.3 MB, free: 11.13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002965/0.07725, allocations: 203.4 kB / 447.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.07737, allocations: 0.6965 MB / 448.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.0774, allocations: 15.42 kB / 448.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of SimCode: time 3.7e-07/0.07741, allocations: 0 / 448.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of Templates: time 0.001877/0.07929, allocations: 0.8932 MB / 449.1 MB, free: 9.262 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)