Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.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.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001403/0.001403, allocations: 175.5 kB / 16.78 MB, free: 5.047 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.313/1.313, allocations: 205 MB / 222.6 MB, free: 9.156 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.000828/0.000828, allocations: 98.23 kB / 270.5 MB, free: 8.672 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.06601/0.06601, allocations: 12.57 MB / 331 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003423, allocations: 12 kB / 391.7 MB, free: 66.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07365/0.07401, allocations: 49.98 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked): time 0.001406/0.07545, allocations: 1.274 MB / 443 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006365/0.07612, allocations: 499.7 kB / 443.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.759e-05/0.07621, allocations: 4 kB / 443.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.511e-05/0.07627, allocations: 7.938 kB / 443.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.07638, allocations: 3.938 kB / 443.5 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.07662, allocations: 43.89 kB / 443.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.045e-05/0.0767, allocations: 35.86 kB / 443.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.938e-05/0.0768, allocations: 8 kB / 443.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.114e-05/0.07686, allocations: 19.91 kB / 443.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.707e-05/0.07692, allocations: 11.94 kB / 443.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.07694, allocations: 4 kB / 443.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.161e-05/0.07696, allocations: 7.938 kB / 443.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.07701, allocations: 11.92 kB / 443.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.07704, allocations: 19.81 kB / 443.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.627e-05/0.07712, allocations: 47.8 kB / 443.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.07713, allocations: 0 / 443.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.07714, allocations: 0 / 443.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.07715, allocations: 0 / 443.7 MB, free: 14.39 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003525/0.07751, allocations: 359.4 kB / 444 MB, free: 14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.07755, allocations: 12.02 kB / 444 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.07759, allocations: 12.84 kB / 444.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.07774, allocations: 180.3 kB / 444.2 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.07776, allocations: 4.375 kB / 444.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.07778, allocations: 384 / 444.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.07798, allocations: 97.36 kB / 444.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.078, allocations: 4 kB / 444.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.07802, allocations: 0 / 444.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.07803, allocations: 0 / 444.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.603e-05/0.07811, allocations: 27.92 kB / 444.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002451/0.07836, allocations: 261.7 kB / 444.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.275e-05/0.07844, allocations: 53.14 kB / 444.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.333e-05/0.0785, allocations: 25.72 kB / 444.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.07852, allocations: 0 / 444.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.209e-05/0.07854, allocations: 34.56 kB / 444.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.07854, allocations: 3.938 kB / 444.7 MB, free: 13.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002197/0.07877, allocations: 69.61 kB / 444.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.698e-05/0.07879, allocations: 77.11 kB / 444.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.242e-05/0.07888, allocations: 143.6 kB / 445 MB, free: 12.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.0789, allocations: 33.95 kB / 445.1 MB, free: 12.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.672e-05/0.07893, allocations: 92.06 kB / 445.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.297e-05/0.07895, allocations: 4 kB / 445.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-05/0.07897, allocations: 9.719 kB / 445.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.833e-05/0.07902, allocations: 318.8 kB / 445.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.7e-05/0.07906, allocations: 8 kB / 445.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.367e-05/0.07911, allocations: 25.7 kB / 445.5 MB, free: 12.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.214e-05/0.07919, allocations: 41.58 kB / 445.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.0792, allocations: 0 / 445.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001039/0.07931, allocations: 65.62 kB / 445.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.07933, allocations: 8 kB / 445.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-06/0.07934, allocations: 0 / 445.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.07936, allocations: 0 / 445.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.617e-05/0.07943, allocations: 7.984 kB / 445.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.07944, allocations: 0 / 445.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.545e-05/0.07948, allocations: 4 kB / 445.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.0795, allocations: 0 / 445.6 MB, free: 12.19 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.156e-05/0.07955, allocations: 122.7 kB / 445.7 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.07959, allocations: 11.92 kB / 445.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.07962, allocations: 15.83 kB / 445.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.07963, allocations: 0 / 445.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.07963, allocations: 4 kB / 445.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.07967, allocations: 93.08 kB / 445.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.07969, allocations: 0 / 445.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.679e-05/0.07976, allocations: 4 kB / 445.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.0798, allocations: 7.922 kB / 445.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001347/0.07994, allocations: 212.2 kB / 446.1 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001491/0.0801, allocations: 318 kB / 446.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.669e-05/0.08015, allocations: 15.98 kB / 446.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.229e-05/0.0802, allocations: 109.9 kB / 446.5 MB, free: 11.24 MB / 298.7 MB Notification: Performance of Backend: time 3.3e-07/0.08021, allocations: 0 / 446.5 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003717/0.08059, allocations: 82.39 kB / 446.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of SimCode: time 0.0004002/0.081, allocations: 0.6305 MB / 447.2 MB, free: 10.48 MB / 298.7 MB Notification: Performance of Templates: time 0.00208/0.08309, allocations: 477.2 kB / 447.7 MB, free: 10.02 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1)