Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Digital.Examples.VectorDelay.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 3.2.3+maint.om/package.mo", uses=false) 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 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.Electrical.Digital.Examples.VectorDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Digital.Examples.VectorDelay") translateModel(Modelica.Electrical.Digital.Examples.VectorDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Digital.Examples.VectorDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001162/0.001162, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004892/0.0004893, allocations: 8 kB / 278.9 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3506, allocations: 47.59 MB / 326.4 MB, free: 1.449 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.001845/0.3525, allocations: 1.177 MB / 327.6 MB, free: 0.5117 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.3543, allocations: 0.8692 MB / 328.5 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.996e-05/0.3544, allocations: 1.094 kB / 328.5 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.3545, allocations: 5.125 kB / 328.5 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.782e-05/0.3546, allocations: 25.39 kB / 328.5 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.3549, allocations: 39.83 kB / 328.6 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.3552, allocations: 155.9 kB / 328.7 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.3554, allocations: 54.47 kB / 328.8 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004377/0.3558, allocations: 287.8 kB / 329 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003215/0.3561, allocations: 155.1 kB / 329.2 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.513e-05/0.3562, allocations: 8.406 kB / 329.2 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.985e-05/0.3563, allocations: 11.78 kB / 329.2 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.3565, allocations: 180.7 kB / 329.4 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.3567, allocations: 144.9 kB / 329.5 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007759/0.3574, allocations: 0.8017 MB / 330.3 MB, free: 14.75 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3574, allocations: 0 / 330.3 MB, free: 14.75 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3575, allocations: 0 / 330.3 MB, free: 14.75 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.3575, allocations: 0 / 330.3 MB, free: 14.75 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001294/0.3588, allocations: 1.148 MB / 331.5 MB, free: 13.71 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/0.3588, allocations: 9.438 kB / 331.5 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.359, allocations: 101.4 kB / 331.6 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007518/0.3598, allocations: 445 kB / 332 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.057e-05/0.3598, allocations: 18.36 kB / 332 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-05/0.3599, allocations: 14.94 kB / 332.1 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000632/0.3605, allocations: 309.8 kB / 332.4 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3606, allocations: 0 / 332.4 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.215e-05/0.3606, allocations: 7.562 kB / 332.4 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.3606, allocations: 2.188 kB / 332.4 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003759/0.361, allocations: 174.9 kB / 332.5 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.3625, allocations: 0.9378 MB / 333.5 MB, free: 12.21 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.3629, allocations: 277.9 kB / 333.8 MB, free: 11.93 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.3629, allocations: 0 / 333.8 MB, free: 11.93 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007505/0.3637, allocations: 0.5193 MB / 334.3 MB, free: 11.36 MB / 270.1 MB Notification: Performance of pre-optimization done (n=30): time 1.372e-06/0.3637, allocations: 0 / 334.3 MB, free: 11.36 MB / 270.1 MB Notification: Performance of matching and sorting (n=30): time 0.001727/0.3654, allocations: 1.256 MB / 335.5 MB, free: 10 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001753/0.3656, allocations: 281 kB / 335.8 MB, free: 9.664 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00204/0.3676, allocations: 1.45 MB / 337.3 MB, free: 8.191 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.355e-05/0.3677, allocations: 45.69 kB / 337.3 MB, free: 8.141 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.537e-05/0.3678, allocations: 118.6 kB / 337.4 MB, free: 8.02 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.771e-05/0.3679, allocations: 71.09 kB / 337.5 MB, free: 7.949 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.3679, allocations: 8 kB / 337.5 MB, free: 7.941 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3681, allocations: 338.8 kB / 337.8 MB, free: 7.602 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.3684, allocations: 159.8 kB / 338 MB, free: 7.445 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/0.3687, allocations: 212.9 kB / 338.2 MB, free: 7.219 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.369, allocations: 334.1 kB / 338.5 MB, free: 6.855 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.369, allocations: 4 kB / 338.5 MB, free: 6.852 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001158/0.3702, allocations: 0.7763 MB / 339.3 MB, free: 6.031 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.3703, allocations: 194.2 kB / 339.5 MB, free: 5.805 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.3704, allocations: 3.938 kB / 339.5 MB, free: 5.801 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.3704, allocations: 4 kB / 339.5 MB, free: 5.797 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.329e-05/0.3704, allocations: 0 / 339.5 MB, free: 5.797 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3704, allocations: 12.08 kB / 339.5 MB, free: 5.785 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.3707, allocations: 31.94 kB / 339.5 MB, free: 5.754 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.3709, allocations: 87.94 kB / 339.6 MB, free: 5.668 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.delay.inertialDelaySensitive[3].y,$whenCondition5,$whenCondition6,$PRE.delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].t_next,table2.y,$PRE.delay.inertialDelaySensitive[2].y,$whenCondition3,$whenCondition4,$PRE.delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].t_next,table1.y,$PRE.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$PRE.delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].t_next,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 6 * 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 0.0009208/0.3718, allocations: 0.7898 MB / 340.4 MB, free: 4.828 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.3719, allocations: 98.78 kB / 340.5 MB, free: 4.73 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.3722, allocations: 199.9 kB / 340.7 MB, free: 4.531 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3722, allocations: 4 kB / 340.7 MB, free: 4.527 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.027e-05/0.3723, allocations: 4 kB / 340.7 MB, free: 4.523 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.3723, allocations: 0 / 340.7 MB, free: 4.523 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/0.3747, allocations: 1.781 MB / 342.5 MB, free: 2.648 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3747, allocations: 0 / 342.5 MB, free: 2.648 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.154e-05/0.3748, allocations: 3.938 kB / 342.5 MB, free: 2.645 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.3748, allocations: 7.875 kB / 342.5 MB, free: 2.637 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.896e-05/0.3748, allocations: 27.98 kB / 342.5 MB, free: 2.609 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.163e-05/0.3749, allocations: 7.984 kB / 342.5 MB, free: 2.602 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.3749, allocations: 7.953 kB / 342.5 MB, free: 2.594 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.3764, allocations: 1.218 MB / 343.8 MB, free: 1.309 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009287/0.3773, allocations: 0.5813 MB / 344.3 MB, free: 0.707 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.3775, allocations: 59.91 kB / 344.4 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/0.3778, allocations: 31.98 kB / 344.4 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.3779, allocations: 51.92 kB / 344.5 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/0.3781, allocations: 95.86 kB / 344.6 MB, free: 484 kB / 270.1 MB Notification: Performance of sorting global known variables: time 0.001493/0.3796, allocations: 1.075 MB / 345.7 MB, free: 15.38 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3796, allocations: 0 / 345.7 MB, free: 15.38 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005095/0.3801, allocations: 111.8 kB / 345.8 MB, free: 15.27 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition1,$whenCondition2,delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].t_next,table.y,$whenCondition3,$whenCondition4,delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].t_next,table1.y,$whenCondition5,$whenCondition6,delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].t_next,table2.y) * Number of discrete states: 30 (table2.y,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].t_next,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].y_old,$whenCondition6,$whenCondition5,delay.inertialDelaySensitive[3].x,table1.y,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].t_next,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,delay.inertialDelaySensitive[2].x,table.y,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].t_next,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,delay.inertialDelaySensitive[1].x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 6 * 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 Backend phase and start with SimCode phase: time 0.0002978/0.3804, allocations: 179.3 kB / 345.9 MB, free: 15.09 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.3816, allocations: 0.9375 MB / 346.9 MB, free: 14.08 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3816, allocations: 0 / 346.9 MB, free: 14.08 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008198/0.3824, allocations: 0.7736 MB / 347.6 MB, free: 13.23 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000933/0.3833, allocations: 196 kB / 347.8 MB, free: 13.04 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.3869, allocations: 2.303 MB / 350.1 MB, free: 10.7 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009819/0.3879, allocations: 1.097 MB / 351.2 MB, free: 9.578 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001534/0.388, allocations: 33.94 kB / 351.3 MB, free: 9.547 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.3881, allocations: 15.44 kB / 351.3 MB, free: 9.531 MB / 286.1 MB Notification: Performance of SimCode: time 2.314e-06/0.3881, allocations: 4 kB / 351.3 MB, free: 9.527 MB / 286.1 MB Notification: Performance of Templates: time 0.01243/0.4005, allocations: 7.686 MB / 359 MB, free: 1.832 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Digital.Examples.VectorDelay.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Digital.Examples.VectorDelay.sim & ./Modelica_3.1_Modelica.Electrical.Digital.Examples.VectorDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1) Environment - environmentSimulation: