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.001033/0.001033, allocations: 177.6 kB / 8.045 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.3 MB / 213.8 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008757/0.0008758, allocations: 86.62 kB / 261.8 MB, free: 1.676 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.06188/0.06188, allocations: 12.6 MB / 322.3 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.899e-06/9.839e-06, allocations: 0 / 378.9 MB, free: 6.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2209, allocations: 50.37 MB / 429.3 MB, free: 18.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09701/0.3179, allocations: 77.39 MB / 0.4948 GB, free: 4.848 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.3182, allocations: 63.95 kB / 0.4949 GB, free: 4.785 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004201/0.3224, allocations: 1.546 MB / 0.4964 GB, free: 3.242 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3224, allocations: 0 / 0.4964 GB, free: 3.242 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.3225, allocations: 0 / 0.4964 GB, free: 3.242 MB / 346.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.000401/0.3229, allocations: 366.3 kB / 0.4967 GB, free: 2.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3229, allocations: 12.03 kB / 0.4967 GB, free: 2.828 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.323, allocations: 11.91 kB / 0.4968 GB, free: 2.816 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.3232, allocations: 194.8 kB / 0.4969 GB, free: 2.586 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.3232, allocations: 4 kB / 0.497 GB, free: 2.582 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.3232, allocations: 11.89 kB / 0.497 GB, free: 2.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.64e-05/0.3233, allocations: 16 kB / 0.497 GB, free: 2.555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.3236, allocations: 107.6 kB / 0.4971 GB, free: 2.422 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.3236, allocations: 0 / 0.4971 GB, free: 2.422 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3236, allocations: 4 kB / 0.4971 GB, free: 2.418 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3236, allocations: 3.984 kB / 0.4971 GB, free: 2.414 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.324, allocations: 241.5 kB / 0.4973 GB, free: 2.141 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.752e-05/0.3241, allocations: 34.52 kB / 0.4974 GB, free: 2.098 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.064e-05/0.3241, allocations: 4.859 kB / 0.4974 GB, free: 2.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.3241, allocations: 4.062 kB / 0.4974 GB, free: 2.086 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/0.3242, allocations: 55.34 kB / 0.4974 GB, free: 2.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3242, allocations: 0 / 0.4974 GB, free: 2.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002034/0.3245, allocations: 53.59 kB / 0.4975 GB, free: 1.961 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.3245, allocations: 55.34 kB / 0.4975 GB, free: 1.895 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.3247, allocations: 142 kB / 0.4977 GB, free: 1.742 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.3247, allocations: 25.7 kB / 0.4977 GB, free: 1.711 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.3247, allocations: 88.14 kB / 0.4978 GB, free: 1.621 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.162e-05/0.3247, allocations: 7.906 kB / 0.4978 GB, free: 1.613 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-06/0.3247, allocations: 0 / 0.4978 GB, free: 1.613 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3249, allocations: 318.8 kB / 0.4981 GB, free: 1.293 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/0.3249, allocations: 8 kB / 0.4981 GB, free: 1.285 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.3249, allocations: 21.72 kB / 0.4981 GB, free: 1.258 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.762e-05/0.325, allocations: 4 kB / 0.4981 GB, free: 1.254 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.325, allocations: 0 / 0.4981 GB, free: 1.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.87e-05/0.325, allocations: 57.58 kB / 0.4982 GB, free: 1.191 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3251, allocations: 11.94 kB / 0.4982 GB, free: 1.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3251, allocations: 3.984 kB / 0.4982 GB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3251, allocations: 0 / 0.4982 GB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.368e-05/0.3251, allocations: 4.125 kB / 0.4982 GB, free: 1.172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3252, allocations: 3.984 kB / 0.4982 GB, free: 1.168 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.58e-05/0.3252, allocations: 12.03 kB / 0.4982 GB, free: 1.156 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.3252, allocations: 4 kB / 0.4982 GB, free: 1.152 MB / 346.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 () * 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.899e-05/0.3253, allocations: 105 kB / 0.4983 GB, free: 1.043 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.3253, allocations: 15.77 kB / 0.4983 GB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.248e-05/0.3254, allocations: 12.33 kB / 0.4983 GB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3254, allocations: 0 / 0.4983 GB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3254, allocations: 0 / 0.4983 GB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3254, allocations: 0 / 0.4983 GB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003484/0.3258, allocations: 311 kB / 0.4986 GB, free: 0.668 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3258, allocations: 0 / 0.4986 GB, free: 0.668 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.766e-06/0.3258, allocations: 4 kB / 0.4986 GB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3258, allocations: 0 / 0.4986 GB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.3258, allocations: 0 / 0.4986 GB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3258, allocations: 0 / 0.4986 GB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3258, allocations: 0 / 0.4986 GB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.326, allocations: 151.5 kB / 0.4988 GB, free: 0.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.868e-05/0.326, allocations: 97.14 kB / 0.4989 GB, free: 396 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.3261, allocations: 3.938 kB / 0.4989 GB, free: 392 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.138e-05/0.3261, allocations: 7.984 kB / 0.4989 GB, free: 384 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.3262, allocations: 11.97 kB / 0.4989 GB, free: 372 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.3262, allocations: 0 / 0.4989 GB, free: 372 kB / 346.7 MB Notification: Performance of sorting global known variables: time 9.363e-05/0.3263, allocations: 116.5 kB / 0.499 GB, free: 256 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3263, allocations: 7.938 kB / 0.499 GB, free: 248 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002022/0.3265, allocations: 8 kB / 0.499 GB, free: 240 kB / 346.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 () * 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 8.697e-05/0.3266, allocations: 91.25 kB / 0.4991 GB, free: 140 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.458e-05/0.3267, allocations: 16 kB / 0.4991 GB, free: 124 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3267, allocations: 0 / 0.4991 GB, free: 124 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.71e-05/0.3267, allocations: 15.94 kB / 0.4991 GB, free: 108 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.327, allocations: 15.98 kB / 0.4991 GB, free: 92 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002792/0.3273, allocations: 108.4 kB / 0.4992 GB, free: 15.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.3276, allocations: 0.7001 MB / 0.4999 GB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.094e-05/0.3276, allocations: 7.781 kB / 0.4999 GB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.3276, allocations: 11.44 kB / 0.4999 GB, free: 15.22 MB / 362.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3276, allocations: 0 / 0.4999 GB, free: 15.22 MB / 362.7 MB Notification: Performance of Templates: time 0.002414/0.33, allocations: 0.631 MB / 0.5006 GB, free: 14.59 MB / 362.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)