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.001851/0.001851, allocations: 173.2 kB / 16.8 MB, free: 5.012 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.492/1.492, allocations: 205.4 MB / 223 MB, free: 9.012 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.0007393/0.0007397, allocations: 89.48 kB / 271.3 MB, free: 8.242 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.07049/0.07049, allocations: 12.59 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003407, allocations: 8 kB / 393.3 MB, free: 65.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0777/0.07806, allocations: 50.38 MB / 443.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks): time 0.001347/0.07944, allocations: 1.211 MB / 444.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006697/0.08014, allocations: 487.8 kB / 445.4 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.687e-05/0.08024, allocations: 3.938 kB / 445.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.226e-05/0.08028, allocations: 0 / 445.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.08041, allocations: 19.84 kB / 445.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.08072, allocations: 63.89 kB / 445.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.85e-05/0.08081, allocations: 55.78 kB / 445.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.485e-05/0.08091, allocations: 15.98 kB / 445.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.189e-05/0.08095, allocations: 19.92 kB / 445.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.249e-05/0.08099, allocations: 19.8 kB / 445.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.08102, allocations: 0 / 445.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.336e-05/0.08104, allocations: 4 kB / 445.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.92e-05/0.08109, allocations: 15.92 kB / 445.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.344e-05/0.08114, allocations: 57.44 kB / 445.6 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.627e-05/0.08122, allocations: 40.22 kB / 445.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.08123, allocations: 0 / 445.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.08123, allocations: 0 / 445.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.08124, allocations: 0 / 445.7 MB, free: 13.4 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.0004098/0.08166, allocations: 383.2 kB / 446.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.08169, allocations: 12.03 kB / 446.1 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.08173, allocations: 12.75 kB / 446.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.08189, allocations: 208.5 kB / 446.3 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.08192, allocations: 4.375 kB / 446.3 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.08194, allocations: 8.125 kB / 446.3 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.08211, allocations: 131.5 kB / 446.4 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.08213, allocations: 0 / 446.4 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.08214, allocations: 0 / 446.4 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.08215, allocations: 0 / 446.4 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.16e-05/0.08218, allocations: 8 kB / 446.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002575/0.08245, allocations: 264.9 kB / 446.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.818e-05/0.08251, allocations: 30.52 kB / 446.7 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.751e-05/0.08253, allocations: 12.92 kB / 446.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.08255, allocations: 0 / 446.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.08267, allocations: 55.39 kB / 446.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.08268, allocations: 0 / 446.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001524/0.08284, allocations: 69.53 kB / 446.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.08287, allocations: 51.41 kB / 446.9 MB, free: 11.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.895e-05/0.08298, allocations: 154.4 kB / 447.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.083, allocations: 29.7 kB / 447.1 MB, free: 11.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.356e-05/0.08304, allocations: 96.03 kB / 447.2 MB, free: 11.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.999e-06/0.08305, allocations: 7.984 kB / 447.2 MB, free: 11.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.08306, allocations: 0 / 447.2 MB, free: 11.67 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.224e-05/0.08311, allocations: 314.8 kB / 447.5 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.86e-05/0.08313, allocations: 11.98 kB / 447.5 MB, free: 11.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.115e-05/0.08316, allocations: 21.72 kB / 447.5 MB, free: 11.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.392e-05/0.0832, allocations: 33.86 kB / 447.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.0832, allocations: 0 / 447.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.096e-05/0.08328, allocations: 61.59 kB / 447.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.0833, allocations: 4 kB / 447.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.08331, allocations: 0 / 447.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.08333, allocations: 4 kB / 447.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.746e-05/0.08337, allocations: 7.922 kB / 447.6 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.08338, allocations: 4 kB / 447.6 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.552e-05/0.08345, allocations: 19.84 kB / 447.7 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.08346, allocations: 0 / 447.7 MB, free: 11.17 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.095e-05/0.08353, allocations: 121.8 kB / 447.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.08355, allocations: 7.906 kB / 447.8 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.491e-05/0.08358, allocations: 12.38 kB / 447.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.08358, allocations: 0 / 447.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.08359, allocations: 4 kB / 447.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.0836, allocations: 7.922 kB / 447.8 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.08385, allocations: 334.4 kB / 448.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.08386, allocations: 0 / 448.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.994e-06/0.08388, allocations: 3.938 kB / 448.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.08388, allocations: 0 / 448.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.0839, allocations: 3.938 kB / 448.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.0839, allocations: 0 / 448.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.08391, allocations: 0 / 448.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.295e-05/0.08399, allocations: 155.5 kB / 448.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.672e-05/0.08404, allocations: 93 kB / 448.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.08406, allocations: 3.938 kB / 448.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.314e-05/0.08415, allocations: 11.98 kB / 448.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.08419, allocations: 7.938 kB / 448.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.0842, allocations: 3.984 kB / 448.4 MB, free: 10.31 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.365e-05/0.08426, allocations: 107.3 kB / 448.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08427, allocations: 0 / 448.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000202/0.08447, allocations: 19.98 kB / 448.5 MB, free: 10.19 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.942e-05/0.08454, allocations: 91.25 kB / 448.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.698e-05/0.08462, allocations: 20 kB / 448.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.08463, allocations: 0 / 448.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.914e-05/0.08466, allocations: 19.92 kB / 448.7 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.08494, allocations: 22.64 kB / 448.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.08527, allocations: 215.1 kB / 448.9 MB, free: 9.785 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.08541, allocations: 0.6891 MB / 449.6 MB, free: 9.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.08545, allocations: 11.44 kB / 449.6 MB, free: 9.059 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.08546, allocations: 4 kB / 449.6 MB, free: 9.055 MB / 298.7 MB Notification: Performance of Templates: time 0.002024/0.08748, allocations: 0.9091 MB / 450.5 MB, free: 8.145 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)