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.001512/0.001512, allocations: 177.1 kB / 16.77 MB, free: 4.93 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.438/1.438, allocations: 205 MB / 222.5 MB, free: 9.051 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.0007282/0.0007282, allocations: 104.4 kB / 270.5 MB, free: 8.645 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.06773/0.06773, allocations: 12.56 MB / 331 MB, free: 12.05 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003948, allocations: 8 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07365/0.07406, allocations: 49.99 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks): time 0.001439/0.07555, allocations: 1.219 MB / 442.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007143/0.0763, allocations: 0.4958 MB / 443.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.375e-05/0.07641, allocations: 0 / 443.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.914e-05/0.07648, allocations: 3.938 kB / 443.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.07662, allocations: 19.91 kB / 443.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.07694, allocations: 51.89 kB / 443.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.986e-05/0.07704, allocations: 55.78 kB / 443.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.93e-05/0.07715, allocations: 12 kB / 443.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.655e-05/0.07719, allocations: 19.86 kB / 443.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.679e-05/0.07724, allocations: 27.8 kB / 443.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.07727, allocations: 0 / 443.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.369e-05/0.07729, allocations: 4 kB / 443.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.834e-05/0.07734, allocations: 11.98 kB / 443.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.748e-05/0.07738, allocations: 35.73 kB / 443.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.504e-05/0.07748, allocations: 48.03 kB / 443.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.07749, allocations: 0 / 443.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.07749, allocations: 0 / 443.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.0775, allocations: 0 / 443.7 MB, free: 14.37 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.0004509/0.07796, allocations: 387.1 kB / 444.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.078, allocations: 8.031 kB / 444.1 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.07805, allocations: 12.75 kB / 444.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.07823, allocations: 208.6 kB / 444.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.07825, allocations: 384 / 444.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.07827, allocations: 12.12 kB / 444.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.07847, allocations: 123.6 kB / 444.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.07848, allocations: 0 / 444.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.0785, allocations: 0 / 444.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.07851, allocations: 0 / 444.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.783e-05/0.07855, allocations: 19.92 kB / 444.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.07886, allocations: 264.8 kB / 444.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.715e-05/0.07892, allocations: 30.52 kB / 444.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.846e-05/0.07894, allocations: 12.91 kB / 444.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.07896, allocations: 0 / 444.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/0.07908, allocations: 55.34 kB / 444.8 MB, free: 13.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.07909, allocations: 4 kB / 444.8 MB, free: 13.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001491/0.07925, allocations: 61.59 kB / 444.9 MB, free: 13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.877e-05/0.07927, allocations: 51.41 kB / 444.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.543e-05/0.07937, allocations: 154.4 kB / 445.1 MB, free: 12.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.07939, allocations: 29.7 kB / 445.1 MB, free: 12.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.07943, allocations: 96.03 kB / 445.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.013e-05/0.07944, allocations: 3.984 kB / 445.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/0.07947, allocations: 13.72 kB / 445.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.616e-05/0.07952, allocations: 326.8 kB / 445.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.07955, allocations: 4 kB / 445.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.164e-05/0.07957, allocations: 21.72 kB / 445.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.459e-05/0.07961, allocations: 37.67 kB / 445.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.07962, allocations: 0 / 445.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.243e-05/0.0797, allocations: 61.53 kB / 445.6 MB, free: 12.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.07972, allocations: 4 kB / 445.6 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.07973, allocations: 0 / 445.6 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.07975, allocations: 0 / 445.6 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.027e-05/0.07979, allocations: 4 kB / 445.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.0798, allocations: 0 / 445.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.689e-05/0.07987, allocations: 27.89 kB / 445.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.07989, allocations: 0 / 445.7 MB, free: 12.12 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,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.344e-05/0.07996, allocations: 117.8 kB / 445.8 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.07997, allocations: 8.031 kB / 445.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.08, allocations: 12.47 kB / 445.8 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.08001, allocations: 8 kB / 445.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.08002, allocations: 0 / 445.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.08006, allocations: 96.92 kB / 445.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.08008, allocations: 0 / 445.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.352e-05/0.08014, allocations: 15.98 kB / 445.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.08018, allocations: 4 kB / 445.9 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001073/0.0803, allocations: 136.9 kB / 446.1 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 9.756e-05/0.0804, allocations: 234.6 kB / 446.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.606e-05/0.08044, allocations: 15.98 kB / 446.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.145e-05/0.0805, allocations: 116 kB / 446.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of Backend: time 4.2e-07/0.0805, allocations: 0 / 446.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003001/0.08081, allocations: 90.95 kB / 446.5 MB, free: 11.22 MB / 298.7 MB Notification: Performance of SimCode: time 0.0004208/0.08124, allocations: 0.645 MB / 447.2 MB, free: 10.53 MB / 298.7 MB Notification: Performance of Templates: time 0.002526/0.08377, allocations: 0.7003 MB / 447.9 MB, free: 9.832 MB / 298.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)