Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001141/0.001145, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00103/0.00103, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.918/1.918, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.001334/0.001335, allocations: 47.94 kB / 278.2 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4339, allocations: 46.63 MB / 324.8 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003918/0.4379, allocations: 1.865 MB / 326.7 MB, free: 476 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002799/0.4407, allocations: 0.9796 MB / 327.7 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.4408, allocations: 1.469 kB / 327.7 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.4411, allocations: 18.75 kB / 327.7 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.4412, allocations: 34.62 kB / 327.7 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004927/0.4417, allocations: 86.89 kB / 327.8 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006015/0.4424, allocations: 312.3 kB / 328.1 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002531/0.4426, allocations: 52.73 kB / 328.2 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00134/0.444, allocations: 0.7347 MB / 328.9 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003224/0.4443, allocations: 157.8 kB / 329.1 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.219e-05/0.4444, allocations: 20.78 kB / 329.1 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.546e-05/0.4445, allocations: 21.03 kB / 329.1 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002654/0.4448, allocations: 139.4 kB / 329.2 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003463/0.4451, allocations: 242.2 kB / 329.5 MB, free: 14.76 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000926/0.446, allocations: 0.742 MB / 330.2 MB, free: 14.19 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4461, allocations: 0 / 330.2 MB, free: 14.19 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4461, allocations: 0 / 330.2 MB, free: 14.19 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.4461, allocations: 0 / 330.2 MB, free: 14.19 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.001734/0.4478, allocations: 1.167 MB / 331.4 MB, free: 13.12 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.28e-05/0.4479, allocations: 9.469 kB / 331.4 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.4481, allocations: 77.66 kB / 331.5 MB, free: 13.08 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005938/0.4487, allocations: 399.6 kB / 331.9 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.4488, allocations: 14.08 kB / 331.9 MB, free: 12.72 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.636e-05/0.4488, allocations: 20.53 kB / 331.9 MB, free: 12.72 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006844/0.4495, allocations: 254.5 kB / 332.1 MB, free: 12.57 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.4496, allocations: 1.094 kB / 332.1 MB, free: 12.57 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.076e-05/0.4496, allocations: 6.562 kB / 332.2 MB, free: 12.57 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.4496, allocations: 6.188 kB / 332.2 MB, free: 12.57 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003466/0.45, allocations: 143.3 kB / 332.3 MB, free: 12.49 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.4513, allocations: 0.7309 MB / 333 MB, free: 11.71 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003942/0.4517, allocations: 202.4 kB / 333.2 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/0.452, allocations: 176.8 kB / 333.4 MB, free: 11.33 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.4521, allocations: 3.938 kB / 333.4 MB, free: 11.32 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006458/0.4527, allocations: 393.8 kB / 333.8 MB, free: 10.9 MB / 270.1 MB Notification: Performance of pre-optimization done (n=29): time 1.944e-06/0.4527, allocations: 0 / 333.8 MB, free: 10.9 MB / 270.1 MB Notification: Performance of matching and sorting (n=29): time 0.001789/0.4545, allocations: 0.9208 MB / 334.7 MB, free: 9.926 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002059/0.4548, allocations: 285 kB / 335 MB, free: 9.586 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.4561, allocations: 0.9529 MB / 335.9 MB, free: 8.625 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 6.763e-05/0.4562, allocations: 37.7 kB / 336 MB, free: 8.582 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.4563, allocations: 126 kB / 336.1 MB, free: 8.453 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.809e-05/0.4564, allocations: 67.19 kB / 336.2 MB, free: 8.387 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000258/0.4567, allocations: 161.1 kB / 336.3 MB, free: 8.223 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.4569, allocations: 334.8 kB / 336.7 MB, free: 7.887 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.4572, allocations: 124.2 kB / 336.8 MB, free: 7.766 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.4575, allocations: 163.9 kB / 336.9 MB, free: 7.594 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007843/0.4583, allocations: 0.7021 MB / 337.6 MB, free: 6.777 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.4583, allocations: 3.938 kB / 337.6 MB, free: 6.773 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001315/0.4596, allocations: 0.7565 MB / 338.4 MB, free: 5.961 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002349/0.4598, allocations: 245.6 kB / 338.6 MB, free: 5.672 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.503e-05/0.4599, allocations: 0 / 338.6 MB, free: 5.672 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/0.4599, allocations: 4 kB / 338.6 MB, free: 5.668 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.58e-05/0.46, allocations: 7.938 kB / 338.6 MB, free: 5.66 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.46, allocations: 0 / 338.6 MB, free: 5.66 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/0.4603, allocations: 31.89 kB / 338.7 MB, free: 5.629 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/0.4605, allocations: 108.1 kB / 338.8 MB, free: 5.523 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,wiredX.auxiliary[2],wiredX.auxiliary[1],bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.x,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.yy,bUF3S1.nextstate,x_table1.y,e_table1.y,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.x,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.yy,bUF3S2.nextstate,x_table2.y,e_table2.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wiredX.auxiliary[2],wiredX.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009063/0.4614, allocations: 0.6202 MB / 339.4 MB, free: 4.844 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.4615, allocations: 75.16 kB / 339.5 MB, free: 4.77 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.4618, allocations: 126.9 kB / 339.6 MB, free: 4.641 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.4618, allocations: 3.938 kB / 339.6 MB, free: 4.637 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.4619, allocations: 4 kB / 339.6 MB, free: 4.633 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.4619, allocations: 0 / 339.6 MB, free: 4.633 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/0.4642, allocations: 1.437 MB / 341 MB, free: 3.09 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4642, allocations: 0 / 341 MB, free: 3.09 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.806e-05/0.4642, allocations: 11.94 kB / 341.1 MB, free: 3.078 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4642, allocations: 0 / 341.1 MB, free: 3.078 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.178e-05/0.4643, allocations: 27.98 kB / 341.1 MB, free: 3.051 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.4643, allocations: 7.938 kB / 341.1 MB, free: 3.043 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4643, allocations: 0 / 341.1 MB, free: 3.043 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.4658, allocations: 0.957 MB / 342 MB, free: 2.02 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006572/0.4665, allocations: 415.7 kB / 342.5 MB, free: 1.594 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.4666, allocations: 20 kB / 342.5 MB, free: 1.574 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.4668, allocations: 27.92 kB / 342.5 MB, free: 1.547 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/0.4671, allocations: 55.94 kB / 342.6 MB, free: 1.492 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/0.4672, allocations: 119.8 kB / 342.7 MB, free: 1.375 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.001046/0.4683, allocations: 0.686 MB / 343.4 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4683, allocations: 0 / 343.4 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004384/0.4687, allocations: 95.94 kB / 343.5 MB, free: 0.5977 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 (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.0003008/0.469, allocations: 147.2 kB / 343.6 MB, free: 456 kB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.4702, allocations: 0.8935 MB / 344.5 MB, free: 15.45 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4702, allocations: 0 / 344.5 MB, free: 15.45 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008192/0.471, allocations: 0.753 MB / 345.2 MB, free: 14.6 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.4722, allocations: 281.9 kB / 345.5 MB, free: 14.33 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.4746, allocations: 1.49 MB / 347 MB, free: 12.81 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009296/0.4756, allocations: 0.9518 MB / 348 MB, free: 11.83 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003115/0.4759, allocations: 89.34 kB / 348 MB, free: 11.75 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.476, allocations: 47.36 kB / 348.1 MB, free: 11.7 MB / 286.1 MB Notification: Performance of SimCode: time 4.71e-07/0.476, allocations: 0 / 348.1 MB, free: 11.7 MB / 286.1 MB Notification: Performance of Templates: time 0.01813/0.4942, allocations: 9.246 MB / 357.3 MB, free: 2.418 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_3.1_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_3.1_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1)