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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 189.6 kB / 7.85 MB, free: 2.484 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.229/1.229, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0009241/0.0009241, allocations: 94.55 kB / 261.5 MB, free: 13.54 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.08045/0.08045, allocations: 12.59 MB / 322 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.524e-06/7.544e-06, allocations: 0 / 378.4 MB, free: 75.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 50.37 MB / 428.8 MB, free: 25.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3032/0.4072, allocations: 77.32 MB / 0.4942 GB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.4075, allocations: 59.98 kB / 0.4943 GB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.004267/0.4118, allocations: 1.248 MB / 0.4955 GB, free: 11.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.4118, allocations: 0 / 0.4955 GB, free: 11.61 MB / 330.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.0003626/0.4122, allocations: 373 kB / 0.4958 GB, free: 11.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.4122, allocations: 11.5 kB / 0.4959 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.4123, allocations: 11.81 kB / 0.4959 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.4125, allocations: 189.3 kB / 0.496 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.4125, allocations: 8.406 kB / 0.4961 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.4125, allocations: 3.812 kB / 0.4961 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.876e-05/0.4126, allocations: 15.95 kB / 0.4961 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.4128, allocations: 115.4 kB / 0.4962 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.4128, allocations: 0.7969 kB / 0.4962 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.4128, allocations: 0 / 0.4962 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.4128, allocations: 0 / 0.4962 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.4131, allocations: 238.9 kB / 0.4964 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.305e-05/0.4131, allocations: 30.64 kB / 0.4964 GB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.277e-05/0.4132, allocations: 8.703 kB / 0.4964 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.4132, allocations: 0 / 0.4964 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.551e-05/0.4132, allocations: 50.53 kB / 0.4965 GB, free: 10.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.4133, allocations: 0 / 0.4965 GB, free: 10.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001359/0.4134, allocations: 54.39 kB / 0.4965 GB, free: 10.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.4134, allocations: 60.05 kB / 0.4966 GB, free: 10.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.4135, allocations: 135.5 kB / 0.4967 GB, free: 10.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.4136, allocations: 25.7 kB / 0.4968 GB, free: 10.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.471e-05/0.4136, allocations: 81.45 kB / 0.4968 GB, free: 10.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.181e-05/0.4136, allocations: 11.73 kB / 0.4968 GB, free: 10.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/0.4136, allocations: 0 / 0.4968 GB, free: 10.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.168e-05/0.4137, allocations: 320.9 kB / 0.4972 GB, free: 9.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.465e-05/0.4137, allocations: 3.844 kB / 0.4972 GB, free: 9.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.215e-05/0.4137, allocations: 21.2 kB / 0.4972 GB, free: 9.961 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.404e-05/0.4138, allocations: 16.42 kB / 0.4972 GB, free: 9.957 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4138, allocations: 0 / 0.4972 GB, free: 9.957 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.265e-05/0.4138, allocations: 50.86 kB / 0.4972 GB, free: 9.922 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.4139, allocations: 7.656 kB / 0.4972 GB, free: 9.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4139, allocations: 0.6094 kB / 0.4972 GB, free: 9.918 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.4139, allocations: 7.906 kB / 0.4973 GB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.15e-05/0.4139, allocations: 4.922 kB / 0.4973 GB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.4139, allocations: 0 / 0.4973 GB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.365e-05/0.414, allocations: 13.8 kB / 0.4973 GB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.414, allocations: 0 / 0.4973 GB, free: 9.906 MB / 330.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 5.694e-05/0.4141, allocations: 113.3 kB / 0.4974 GB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.4141, allocations: 7.812 kB / 0.4974 GB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.4142, allocations: 13.3 kB / 0.4974 GB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4142, allocations: 0.7969 kB / 0.4974 GB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4142, allocations: 0 / 0.4974 GB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4142, allocations: 7.375 kB / 0.4974 GB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.4144, allocations: 298.4 kB / 0.4977 GB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4145, allocations: 0 / 0.4977 GB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.414e-06/0.4145, allocations: 4.406 kB / 0.4977 GB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4145, allocations: 0 / 0.4977 GB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-06/0.4145, allocations: 4 kB / 0.4977 GB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4145, allocations: 0.6562 kB / 0.4977 GB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4145, allocations: 0 / 0.4977 GB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.657e-05/0.4146, allocations: 146.6 kB / 0.4978 GB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.4146, allocations: 96.7 kB / 0.4979 GB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.4147, allocations: 0.6562 kB / 0.4979 GB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.155e-05/0.4148, allocations: 9.922 kB / 0.4979 GB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.4148, allocations: 6.016 kB / 0.4979 GB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.4148, allocations: 0.75 kB / 0.498 GB, free: 9.277 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.107e-05/0.4149, allocations: 112.4 kB / 0.4981 GB, free: 9.203 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002104/0.4151, allocations: 15.72 kB / 0.4981 GB, free: 9.195 MB / 330.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 7.403e-05/0.4152, allocations: 95.58 kB / 0.4982 GB, free: 9.105 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.488e-05/0.4153, allocations: 22.81 kB / 0.4982 GB, free: 9.105 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.4153, allocations: 64 / 0.4982 GB, free: 9.105 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.661e-05/0.4153, allocations: 15.89 kB / 0.4982 GB, free: 9.102 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.4156, allocations: 14.55 kB / 0.4982 GB, free: 9.102 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.4159, allocations: 101 kB / 0.4983 GB, free: 9.023 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.4161, allocations: 0.713 MB / 0.499 GB, free: 8.316 MB / 330.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4161, allocations: 0 / 0.499 GB, free: 8.316 MB / 330.7 MB Notification: Performance of Templates: time 0.002814/0.4189, allocations: 0.679 MB / 0.4997 GB, free: 8.242 MB / 330.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)