Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 110.2 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 55.91 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2844, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003282/0.2878, allocations: 1.461 MB / 402.9 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003277/0.2881, allocations: 103.6 kB / 403 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.021e-05/0.2882, allocations: 4 kB / 403 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.2883, allocations: 3.938 kB / 403 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.014e-05/0.2883, allocations: 0 / 403 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.2886, allocations: 27.91 kB / 403 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.05e-05/0.2887, allocations: 27.92 kB / 403 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.2888, allocations: 15.92 kB / 403.1 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.952e-05/0.2889, allocations: 15.97 kB / 403.1 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.591e-05/0.2889, allocations: 7.938 kB / 403.1 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.2889, allocations: 0 / 403.1 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.335e-05/0.289, allocations: 4 kB / 403.1 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.289, allocations: 11.94 kB / 403.1 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.289, allocations: 15.92 kB / 403.1 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.2891, allocations: 27.91 kB / 403.1 MB, free: 7.137 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2892, allocations: 3.938 kB / 403.1 MB, free: 7.133 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2892, allocations: 0 / 403.1 MB, free: 7.133 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.2892, allocations: 0 / 403.1 MB, free: 7.133 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004011/0.2896, allocations: 343.3 kB / 403.5 MB, free: 6.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2896, allocations: 8.031 kB / 403.5 MB, free: 6.742 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.2897, allocations: 4.938 kB / 403.5 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.2899, allocations: 180.2 kB / 403.7 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.2899, allocations: 8.359 kB / 403.7 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.2899, allocations: 4.375 kB / 403.7 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003319/0.2903, allocations: 99.88 kB / 403.8 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2903, allocations: 4.188 kB / 403.8 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.2903, allocations: 7.875 kB / 403.8 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.2903, allocations: 4 kB / 403.8 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.02e-05/0.2904, allocations: 15.98 kB / 403.8 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001443/0.2906, allocations: 153.7 kB / 404 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.2907, allocations: 58.48 kB / 404 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.966e-05/0.2908, allocations: 24.92 kB / 404 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.2908, allocations: 4 kB / 404 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.2909, allocations: 30.56 kB / 404.1 MB, free: 6.035 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.2909, allocations: 0 / 404.1 MB, free: 6.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.000243/0.2911, allocations: 73.52 kB / 404.1 MB, free: 5.957 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.2912, allocations: 59.33 kB / 404.2 MB, free: 5.887 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.942e-05/0.2913, allocations: 101.9 kB / 404.3 MB, free: 5.777 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.2913, allocations: 29.7 kB / 404.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.353e-05/0.2913, allocations: 88.14 kB / 404.4 MB, free: 5.652 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.015e-05/0.2914, allocations: 3.984 kB / 404.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.2914, allocations: 17.72 kB / 404.4 MB, free: 5.625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.2915, allocations: 310.8 kB / 404.7 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.2915, allocations: 0 / 404.7 MB, free: 5.312 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.856e-05/0.2916, allocations: 35.42 kB / 404.8 MB, free: 5.266 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.219e-05/0.2916, allocations: 35.38 kB / 404.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2916, allocations: 0 / 404.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.016e-05/0.2917, allocations: 53.62 kB / 404.9 MB, free: 5.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2917, allocations: 12.12 kB / 404.9 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.2917, allocations: 0 / 404.9 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.2918, allocations: 3.938 kB / 404.9 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.951e-05/0.2918, allocations: 8 kB / 404.9 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2918, allocations: 3.938 kB / 404.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.16e-05/0.2918, allocations: 1.266 kB / 404.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.2919, allocations: 4 kB / 404.9 MB, free: 5.129 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.884e-05/0.2919, allocations: 113.8 kB / 405 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.292, allocations: 8.172 kB / 405 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.292, allocations: 19.78 kB / 405 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.292, allocations: 3.984 kB / 405 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.292, allocations: 0 / 405 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.2921, allocations: 81.36 kB / 405.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.2921, allocations: 0 / 405.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.054e-05/0.2921, allocations: 7.938 kB / 405.1 MB, free: 4.863 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-06/0.2921, allocations: 4 kB / 405.1 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001569/0.2923, allocations: 133 kB / 405.3 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001821/0.2925, allocations: 238.7 kB / 405.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.802e-05/0.2925, allocations: 11.98 kB / 405.5 MB, free: 4.461 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.825e-05/0.2926, allocations: 87.27 kB / 405.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of Backend: time 5.01e-07/0.2926, allocations: 0 / 405.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003459/0.2929, allocations: 98.22 kB / 405.7 MB, free: 4.273 MB / 318.1 MB Notification: Performance of SimCode: time 0.0004208/0.2934, allocations: 0.565 MB / 406.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of Templates: time 0.002228/0.2956, allocations: 312.7 kB / 406.6 MB, free: 3.355 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1)