Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.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.WiredX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008777/0.0008777, allocations: 87.3 kB / 15.06 MB, free: 1.082 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.001465/0.001465, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.0004867/0.0004867, allocations: 16 kB / 278.9 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3158, allocations: 47.58 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.001849/0.3176, allocations: 1.455 MB / 327.9 MB, free: 256 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.3197, allocations: 0.955 MB / 328.9 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.84e-05/0.3198, allocations: 0 / 328.9 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.32, allocations: 19 kB / 328.9 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.462e-05/0.3201, allocations: 25.91 kB / 328.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000405/0.3205, allocations: 67.06 kB / 329 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003843/0.3209, allocations: 232.7 kB / 329.2 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.3211, allocations: 48.5 kB / 329.3 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.3224, allocations: 0.6421 MB / 329.9 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.3227, allocations: 154.3 kB / 330 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.078e-05/0.3228, allocations: 7.812 kB / 330.1 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.454e-05/0.3228, allocations: 11.56 kB / 330.1 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.3231, allocations: 139.5 kB / 330.2 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.3232, allocations: 115.9 kB / 330.3 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006999/0.3239, allocations: 0.6004 MB / 330.9 MB, free: 14.35 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.324, allocations: 5.578 kB / 330.9 MB, free: 14.35 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.324, allocations: 0 / 330.9 MB, free: 14.35 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.324, allocations: 0 / 330.9 MB, free: 14.35 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001246/0.3252, allocations: 1.044 MB / 332 MB, free: 13.35 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.3253, allocations: 8.906 kB / 332 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.3254, allocations: 77.84 kB / 332 MB, free: 13.31 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004801/0.3259, allocations: 354.8 kB / 332.4 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/0.326, allocations: 14.81 kB / 332.4 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.433e-05/0.326, allocations: 27.33 kB / 332.4 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005604/0.3266, allocations: 247.6 kB / 332.7 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3266, allocations: 0 / 332.7 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.977e-05/0.3267, allocations: 11.78 kB / 332.7 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3267, allocations: 2.25 kB / 332.7 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003144/0.327, allocations: 138.6 kB / 332.8 MB, free: 12.78 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.3282, allocations: 0.733 MB / 333.6 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.3286, allocations: 202.6 kB / 333.8 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.3289, allocations: 172.8 kB / 333.9 MB, free: 11.87 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.3289, allocations: 4 kB / 333.9 MB, free: 11.86 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005683/0.3295, allocations: 393.9 kB / 334.3 MB, free: 11.44 MB / 270.1 MB Notification: Performance of pre-optimization done (n=29): time 1.543e-06/0.3295, allocations: 0 / 334.3 MB, free: 11.44 MB / 270.1 MB Notification: Performance of matching and sorting (n=29): time 0.001556/0.3311, allocations: 0.9246 MB / 335.2 MB, free: 10.46 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002014/0.3313, allocations: 285.1 kB / 335.5 MB, free: 10.12 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.3326, allocations: 0.9491 MB / 336.5 MB, free: 9.164 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 6.147e-05/0.3326, allocations: 37.7 kB / 336.5 MB, free: 9.121 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.3327, allocations: 130 kB / 336.6 MB, free: 8.988 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.818e-05/0.3328, allocations: 67.25 kB / 336.7 MB, free: 8.922 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.3329, allocations: 8 kB / 336.7 MB, free: 8.914 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.3331, allocations: 334.8 kB / 337 MB, free: 8.578 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.3333, allocations: 124.2 kB / 337.2 MB, free: 8.457 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.3336, allocations: 167.8 kB / 337.3 MB, free: 8.281 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000434/0.3341, allocations: 349.6 kB / 337.7 MB, free: 7.891 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3341, allocations: 0 / 337.7 MB, free: 7.891 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001087/0.3352, allocations: 0.7525 MB / 338.4 MB, free: 7.082 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001681/0.3354, allocations: 241.6 kB / 338.6 MB, free: 6.797 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.3354, allocations: 4 kB / 338.7 MB, free: 6.793 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3354, allocations: 0 / 338.7 MB, free: 6.793 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.324e-05/0.3355, allocations: 19.88 kB / 338.7 MB, free: 6.773 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.3355, allocations: 0 / 338.7 MB, free: 6.773 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.3358, allocations: 40.02 kB / 338.7 MB, free: 6.734 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.3359, allocations: 104.1 kB / 338.8 MB, free: 6.633 MB / 270.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: 34 ($PRE.bUF3S1.inertialDelaySensitive.y,$PRE.bUF3S2.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.auxiliary[1],wiredX.auxiliary[2],wiredX.y,$PRE.wiredX.auxiliary[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 8 * 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.0006537/0.3366, allocations: 0.6201 MB / 339.4 MB, free: 5.953 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.332e-05/0.3367, allocations: 75.16 kB / 339.5 MB, free: 5.879 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.3369, allocations: 126.9 kB / 339.6 MB, free: 5.75 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.3369, allocations: 7.938 kB / 339.6 MB, free: 5.742 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.3369, allocations: 3.953 kB / 339.6 MB, free: 5.738 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3369, allocations: 0 / 339.6 MB, free: 5.738 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.3388, allocations: 1.417 MB / 341.1 MB, free: 4.215 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3388, allocations: 0 / 341.1 MB, free: 4.215 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.694e-05/0.3388, allocations: 7.984 kB / 341.1 MB, free: 4.207 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3388, allocations: 0 / 341.1 MB, free: 4.207 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-05/0.3389, allocations: 27.98 kB / 341.1 MB, free: 4.18 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.3389, allocations: 7.891 kB / 341.1 MB, free: 4.172 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3389, allocations: 0 / 341.1 MB, free: 4.172 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.3401, allocations: 0.961 MB / 342.1 MB, free: 3.145 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005626/0.3407, allocations: 415.7 kB / 342.5 MB, free: 2.719 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.3408, allocations: 27.98 kB / 342.5 MB, free: 2.691 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.341, allocations: 27.98 kB / 342.5 MB, free: 2.664 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.3412, allocations: 59.88 kB / 342.6 MB, free: 2.605 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.3413, allocations: 111.9 kB / 342.7 MB, free: 2.496 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0009401/0.3423, allocations: 0.6899 MB / 343.4 MB, free: 1.809 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3423, allocations: 4 kB / 343.4 MB, free: 1.805 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003892/0.3427, allocations: 95.94 kB / 343.5 MB, free: 1.711 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 29 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.y,wiredX.auxiliary[1],wiredX.auxiliary[2]) * Number of discrete states: 27 (e_table2.y,x_table2.y,bUF3S2.yy,bUF3S2.nextstate,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,$whenCondition4,$whenCondition3,bUF3S2.inertialDelaySensitive.x,e_table1.y,x_table1.y,bUF3S1.yy,bUF3S1.nextstate,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S1.inertialDelaySensitive.x,wiredX.auxiliary[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 8 * 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.0002102/0.3429, allocations: 147.2 kB / 343.6 MB, free: 1.559 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.3439, allocations: 0.8857 MB / 344.5 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.344, allocations: 0 / 344.5 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007033/0.3447, allocations: 0.7531 MB / 345.3 MB, free: 15.72 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009761/0.3457, allocations: 234.9 kB / 345.5 MB, free: 15.49 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.3479, allocations: 1.459 MB / 346.9 MB, free: 14 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006917/0.3486, allocations: 0.9401 MB / 347.9 MB, free: 13.04 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002345/0.3489, allocations: 89.34 kB / 348 MB, free: 12.95 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.349, allocations: 51.36 kB / 348 MB, free: 12.9 MB / 286.1 MB Notification: Performance of SimCode: time 6.21e-07/0.349, allocations: 0 / 348 MB, free: 12.9 MB / 286.1 MB Notification: Performance of Templates: time 0.01308/0.3621, allocations: 8.215 MB / 356.2 MB, free: 4.656 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1)