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.001123/0.001123, allocations: 186.7 kB / 16.46 MB, free: 5.523 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.484/1.484, 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.0007444/0.0007444, allocations: 100.9 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.06385/0.06385, allocations: 12.6 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003888, allocations: 16 kB / 392.7 MB, free: 66.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07705/0.07746, allocations: 50.38 MB / 443 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks): time 0.001254/0.07876, allocations: 1.191 MB / 444.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005842/0.07936, allocations: 0.4922 MB / 444.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.077e-05/0.07944, allocations: 4 kB / 444.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.762e-05/0.07948, allocations: 3.938 kB / 444.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.0796, allocations: 15.91 kB / 444.7 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.07987, allocations: 55.84 kB / 444.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.76e-05/0.07996, allocations: 55.77 kB / 444.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.678e-05/0.08005, allocations: 23.97 kB / 444.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.021e-05/0.08009, allocations: 15.88 kB / 444.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.124e-05/0.08014, allocations: 19.86 kB / 444.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.08016, allocations: 4 kB / 444.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.226e-05/0.08018, allocations: 0 / 444.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.848e-05/0.08021, allocations: 11.98 kB / 444.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.08024, allocations: 37.64 kB / 445 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.496e-05/0.08031, allocations: 36.22 kB / 445 MB, free: 13.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.08033, allocations: 7.922 kB / 445 MB, free: 13.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.08033, allocations: 0 / 445 MB, free: 13.81 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.08034, allocations: 4 kB / 445 MB, free: 13.8 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.0004374/0.08078, allocations: 382.9 kB / 445.4 MB, free: 13.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.08082, allocations: 8.031 kB / 445.4 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.08086, allocations: 15.81 kB / 445.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.08102, allocations: 199.4 kB / 445.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.08104, allocations: 8 kB / 445.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.08105, allocations: 4 kB / 445.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.08124, allocations: 123.5 kB / 445.7 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.08126, allocations: 0 / 445.7 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.577e-06/0.08127, allocations: 0 / 445.7 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.08128, allocations: 8 kB / 445.7 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.154e-05/0.08132, allocations: 4 kB / 445.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/0.0816, allocations: 268.9 kB / 446 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.414e-05/0.08166, allocations: 18.58 kB / 446 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/0.08168, allocations: 16.86 kB / 446 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.08169, allocations: 4 kB / 446 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/0.08181, allocations: 55.39 kB / 446.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.08182, allocations: 4 kB / 446.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001399/0.08196, allocations: 61.59 kB / 446.2 MB, free: 12.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.08199, allocations: 55.34 kB / 446.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.41e-05/0.08209, allocations: 151 kB / 446.4 MB, free: 12.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.08211, allocations: 25.7 kB / 446.4 MB, free: 12.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.366e-05/0.08214, allocations: 96.05 kB / 446.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.114e-05/0.08216, allocations: 11.89 kB / 446.5 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.08217, allocations: 7.875 kB / 446.5 MB, free: 12.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.176e-05/0.08222, allocations: 318.8 kB / 446.8 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.08224, allocations: 4 kB / 446.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.81e-05/0.08226, allocations: 25.7 kB / 446.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.088e-05/0.08229, allocations: 8.188 kB / 446.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.08229, allocations: 0 / 446.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.716e-05/0.08237, allocations: 65.61 kB / 446.9 MB, free: 11.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.08239, allocations: 8 kB / 446.9 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.0824, allocations: 128 / 446.9 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.08241, allocations: 0 / 446.9 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.904e-05/0.08246, allocations: 8 kB / 446.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.08247, allocations: 0 / 446.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.792e-05/0.08253, allocations: 7.984 kB / 446.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.08254, allocations: 4 kB / 446.9 MB, free: 11.62 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.296e-05/0.08261, allocations: 130.4 kB / 447.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.08263, allocations: 11.81 kB / 447.1 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.08266, allocations: 16.23 kB / 447.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.08267, allocations: 0 / 447.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.08267, allocations: 0 / 447.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.08268, allocations: 0 / 447.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.08292, allocations: 326.5 kB / 447.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.08293, allocations: 4 kB / 447.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.931e-06/0.08294, allocations: 0 / 447.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.08295, allocations: 0 / 447.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.08296, allocations: 4 kB / 447.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.08297, allocations: 0 / 447.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.08297, allocations: 0 / 447.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.791e-05/0.08305, allocations: 163.3 kB / 447.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.0831, allocations: 93 kB / 447.7 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.08312, allocations: 4 kB / 447.7 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.45e-05/0.08321, allocations: 4 kB / 447.7 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.08325, allocations: 7.984 kB / 447.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.08326, allocations: 0 / 447.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.247e-05/0.08331, allocations: 116.6 kB / 447.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.08332, allocations: 0 / 447.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001894/0.08351, allocations: 8 kB / 447.8 MB, free: 10.65 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 6.459e-05/0.08358, allocations: 99.19 kB / 447.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.295e-05/0.08366, allocations: 31.92 kB / 447.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.08367, allocations: 3.938 kB / 447.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.54e-05/0.0837, allocations: 8 kB / 447.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.08397, allocations: 24.45 kB / 448 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.08428, allocations: 207.1 kB / 448.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.08439, allocations: 0.6926 MB / 448.9 MB, free: 9.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.261e-05/0.08442, allocations: 11.44 kB / 448.9 MB, free: 9.508 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.08443, allocations: 0 / 448.9 MB, free: 9.508 MB / 298.7 MB Notification: Performance of Templates: time 0.001774/0.08621, allocations: 0.8871 MB / 449.8 MB, free: 8.621 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)