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.001455/0.001455, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 195 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.946/1.946, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001597/0.001598, allocations: 56.3 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3696, allocations: 46.63 MB / 325.3 MB, free: 1.984 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.00384/0.3736, allocations: 1.499 MB / 326.8 MB, free: 0.7891 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002811/0.3765, allocations: 0.9042 MB / 327.7 MB, free: 104 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.3766, allocations: 1.125 kB / 327.7 MB, free: 104 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.377, allocations: 14.7 kB / 327.7 MB, free: 92 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 7.077e-05/0.3771, allocations: 19.42 kB / 327.7 MB, free: 76 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004296/0.3775, allocations: 57.08 kB / 327.8 MB, free: 28 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007793/0.3783, allocations: 328.6 kB / 328.1 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002959/0.3786, allocations: 69.94 kB / 328.2 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009037/0.3795, allocations: 472.7 kB / 328.6 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003154/0.3799, allocations: 161.7 kB / 328.8 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.38, allocations: 22.47 kB / 328.8 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.3801, allocations: 24.31 kB / 328.8 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003098/0.3804, allocations: 184.9 kB / 329 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000395/0.3808, allocations: 298.8 kB / 329.3 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.382, allocations: 0.9754 MB / 330.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.382, allocations: 1.094 kB / 330.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.3821, allocations: 0 / 330.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.653e-05/0.3821, allocations: 0 / 330.3 MB, free: 14.5 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.002199/0.3843, allocations: 1.304 MB / 331.6 MB, free: 13.36 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.394e-05/0.3844, allocations: 8.781 kB / 331.6 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002096/0.3846, allocations: 95.34 kB / 331.7 MB, free: 13.31 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.3856, allocations: 483.9 kB / 332.2 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.356e-05/0.3857, allocations: 14.94 kB / 332.2 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.3858, allocations: 14.19 kB / 332.2 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009304/0.3868, allocations: 319 kB / 332.5 MB, free: 12.65 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.3868, allocations: 0 / 332.5 MB, free: 12.65 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-05/0.3869, allocations: 16 kB / 332.5 MB, free: 12.64 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.3869, allocations: 0 / 332.5 MB, free: 12.64 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003855/0.3873, allocations: 171.8 kB / 332.7 MB, free: 12.47 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002708/0.39, allocations: 0.9352 MB / 333.6 MB, free: 11.48 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005725/0.3906, allocations: 273.1 kB / 333.9 MB, free: 11.18 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003741/0.391, allocations: 230.5 kB / 334.1 MB, free: 10.95 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.391, allocations: 4 kB / 334.1 MB, free: 10.95 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008746/0.3919, allocations: 0.5154 MB / 334.6 MB, free: 10.37 MB / 270.1 MB Notification: Performance of pre-optimization done (n=30): time 2.345e-06/0.3919, allocations: 0 / 334.6 MB, free: 10.37 MB / 270.1 MB Notification: Performance of matching and sorting (n=30): time 0.002173/0.3941, allocations: 1.015 MB / 335.7 MB, free: 9.312 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002085/0.3943, allocations: 285 kB / 335.9 MB, free: 8.973 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00285/0.3972, allocations: 1.439 MB / 337.4 MB, free: 7.512 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001615/0.3974, allocations: 49.62 kB / 337.4 MB, free: 7.457 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.3975, allocations: 118.5 kB / 337.5 MB, free: 7.336 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.3976, allocations: 71.41 kB / 337.6 MB, free: 7.266 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003347/0.398, allocations: 188.8 kB / 337.8 MB, free: 7.074 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3981, allocations: 338.8 kB / 338.1 MB, free: 6.734 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/0.3985, allocations: 163.9 kB / 338.3 MB, free: 6.574 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/0.3989, allocations: 204.9 kB / 338.5 MB, free: 6.355 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000844/0.3997, allocations: 0.6849 MB / 339.2 MB, free: 5.578 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.3997, allocations: 0 / 339.2 MB, free: 5.578 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001498/0.4012, allocations: 0.7763 MB / 339.9 MB, free: 4.758 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001936/0.4015, allocations: 190.2 kB / 340.1 MB, free: 4.535 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/0.4015, allocations: 4 kB / 340.1 MB, free: 4.531 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.4015, allocations: 288 / 340.1 MB, free: 4.531 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.131e-05/0.4016, allocations: 11.94 kB / 340.1 MB, free: 4.52 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.4016, allocations: 4 kB / 340.2 MB, free: 4.516 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004796/0.4021, allocations: 32.02 kB / 340.2 MB, free: 4.484 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/0.4022, allocations: 95.92 kB / 340.3 MB, free: 4.391 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,table2.y,delay.inertialDelaySensitive[3].t_next,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].x,$PRE.delay.inertialDelaySensitive[3].x,$whenCondition6,$whenCondition5,$PRE.delay.inertialDelaySensitive[2].y,table1.y,delay.inertialDelaySensitive[2].t_next,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].x,$PRE.delay.inertialDelaySensitive[2].x,$whenCondition4,$whenCondition3,$PRE.delay.inertialDelaySensitive[1].y,table.y,delay.inertialDelaySensitive[1].t_next,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].x,$PRE.delay.inertialDelaySensitive[1].x,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001954/0.4042, allocations: 0.7934 MB / 341.1 MB, free: 3.551 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002529/0.4045, allocations: 98.78 kB / 341.2 MB, free: 3.453 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006786/0.4051, allocations: 199.9 kB / 341.4 MB, free: 3.254 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.4052, allocations: 0 / 341.4 MB, free: 3.254 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.4052, allocations: 7.938 kB / 341.4 MB, free: 3.246 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.4052, allocations: 3.938 kB / 341.4 MB, free: 3.242 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/0.408, allocations: 1.777 MB / 343.2 MB, free: 1.371 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/0.408, allocations: 0 / 343.2 MB, free: 1.371 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.574e-05/0.4081, allocations: 8 kB / 343.2 MB, free: 1.363 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/0.4081, allocations: 0 / 343.2 MB, free: 1.363 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.361e-05/0.4081, allocations: 31.92 kB / 343.2 MB, free: 1.332 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.4082, allocations: 3.938 kB / 343.2 MB, free: 1.328 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4082, allocations: 0 / 343.2 MB, free: 1.328 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.4098, allocations: 1.202 MB / 344.4 MB, free: 72 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/0.4111, allocations: 0.5813 MB / 345 MB, free: 15.47 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/0.4114, allocations: 55.95 kB / 345 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/0.4117, allocations: 23.92 kB / 345.1 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/0.4119, allocations: 47.89 kB / 345.1 MB, free: 15.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/0.4121, allocations: 99.86 kB / 345.2 MB, free: 15.25 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.002007/0.4141, allocations: 1.079 MB / 346.3 MB, free: 14.16 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4141, allocations: 0 / 346.3 MB, free: 14.16 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007367/0.4149, allocations: 103.9 kB / 346.4 MB, free: 14.05 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003546/0.4152, allocations: 175.3 kB / 346.6 MB, free: 13.88 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.4168, allocations: 0.9492 MB / 347.5 MB, free: 12.85 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.4168, allocations: 0 / 347.5 MB, free: 12.85 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009788/0.4178, allocations: 0.7699 MB / 348.3 MB, free: 12.01 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.4194, allocations: 255.4 kB / 348.5 MB, free: 11.76 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005017/0.4244, allocations: 2.094 MB / 350.6 MB, free: 9.633 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001273/0.4257, allocations: 1.085 MB / 351.7 MB, free: 8.52 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002283/0.426, allocations: 25.39 kB / 351.7 MB, free: 8.496 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.571e-05/0.4261, allocations: 23.44 kB / 351.7 MB, free: 8.473 MB / 286.1 MB Notification: Performance of SimCode: time 1.853e-06/0.4261, allocations: 0 / 351.7 MB, free: 8.473 MB / 286.1 MB Notification: Performance of Templates: time 0.01935/0.4454, allocations: 9.165 MB / 360.9 MB, free: 15.29 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Digital.Examples.VectorDelay.makefile (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)