Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 110.3 kB / 17.75 MB, free: 5.352 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.00122/0.00122, allocations: 189.3 kB / 18.68 MB, free: 4.434 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.452/1.452, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 47.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3471, allocations: 49.43 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.00271/0.3499, allocations: 1.502 MB / 402.9 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007723/0.3507, allocations: 430.8 kB / 403.3 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.279e-05/0.3508, allocations: 4 kB / 403.3 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.605e-05/0.3508, allocations: 3.938 kB / 403.3 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.705e-05/0.3509, allocations: 3.938 kB / 403.4 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.3513, allocations: 31.91 kB / 403.4 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.3514, allocations: 43.78 kB / 403.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.3515, allocations: 8 kB / 403.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.093e-05/0.3516, allocations: 27.91 kB / 403.5 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.238e-05/0.3517, allocations: 11.94 kB / 403.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.3517, allocations: 4 kB / 403.5 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.3517, allocations: 0 / 403.5 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/0.3518, allocations: 11.98 kB / 403.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.3518, allocations: 15.88 kB / 403.5 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.3519, allocations: 39.88 kB / 403.5 MB, free: 6.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3519, allocations: 3.938 kB / 403.5 MB, free: 6.738 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3519, allocations: 0 / 403.5 MB, free: 6.738 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3519, allocations: 0 / 403.5 MB, free: 6.738 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.0004995/0.3524, allocations: 348.5 kB / 403.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3525, allocations: 8.031 kB / 403.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.3525, allocations: 8.844 kB / 403.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.3528, allocations: 184.2 kB / 404.1 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.3528, allocations: 384 / 404.1 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.3529, allocations: 384 / 404.1 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.3532, allocations: 119.6 kB / 404.2 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3532, allocations: 0 / 404.2 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.3533, allocations: 0 / 404.2 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.3533, allocations: 0 / 404.2 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.3534, allocations: 23.92 kB / 404.2 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.3535, allocations: 165.6 kB / 404.4 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.3537, allocations: 62.53 kB / 404.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.445e-05/0.3538, allocations: 24.92 kB / 404.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.3538, allocations: 0 / 404.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.3538, allocations: 38.5 kB / 404.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.3538, allocations: 0 / 404.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002534/0.3541, allocations: 77.52 kB / 404.6 MB, free: 5.531 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.3541, allocations: 63.34 kB / 404.6 MB, free: 5.457 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.978e-05/0.3542, allocations: 105.8 kB / 404.8 MB, free: 5.344 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.3543, allocations: 29.7 kB / 404.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.3543, allocations: 92.11 kB / 404.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.855e-06/0.3543, allocations: 0 / 404.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.3544, allocations: 17.72 kB / 404.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3545, allocations: 314.8 kB / 405.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.3545, allocations: 4 kB / 405.2 MB, free: 4.871 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.045e-05/0.3545, allocations: 31.42 kB / 405.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.264e-05/0.3546, allocations: 31.38 kB / 405.3 MB, free: 4.785 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3546, allocations: 4 kB / 405.3 MB, free: 4.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.352e-05/0.3547, allocations: 61.56 kB / 405.3 MB, free: 4.715 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3547, allocations: 7.938 kB / 405.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3547, allocations: 0 / 405.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3547, allocations: 7.938 kB / 405.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.235e-05/0.3548, allocations: 4 kB / 405.3 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3548, allocations: 0 / 405.3 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.405e-05/0.3548, allocations: 8 kB / 405.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-06/0.3548, allocations: 0 / 405.4 MB, free: 4.688 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 7.193e-05/0.3549, allocations: 118 kB / 405.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.3549, allocations: 11.84 kB / 405.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.355, allocations: 7.906 kB / 405.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.355, allocations: 0 / 405.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.355, allocations: 0 / 405.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.355, allocations: 81.11 kB / 405.6 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.3551, allocations: 7.984 kB / 405.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.192e-05/0.3551, allocations: 4 kB / 405.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-06/0.3551, allocations: 0 / 405.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001851/0.3553, allocations: 144.9 kB / 405.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001964/0.3555, allocations: 238.7 kB / 406 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.062e-05/0.3556, allocations: 16.36 kB / 406 MB, free: 4.012 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.797e-05/0.3556, allocations: 99.52 kB / 406.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of Backend: time 4.6e-07/0.3556, allocations: 0 / 406.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003574/0.356, allocations: 89.64 kB / 406.2 MB, free: 3.824 MB / 318.1 MB Notification: Performance of SimCode: time 0.0004727/0.3565, allocations: 0.5738 MB / 406.7 MB, free: 3.203 MB / 318.1 MB Notification: Performance of Templates: time 0.002495/0.359, allocations: 353.1 kB / 407.1 MB, free: 2.859 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1)