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.001041/0.001046, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00156/0.00156, allocations: 168.7 kB / 15.95 MB, free: 204 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.992/1.992, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0005318/0.0005319, allocations: 14.66 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3666, allocations: 47.58 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.001776/0.3684, allocations: 1.46 MB / 327.9 MB, free: 260 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.3706, allocations: 0.9406 MB / 328.9 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.122e-05/0.3706, allocations: 1.312 kB / 328.9 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.286e-05/0.3708, allocations: 18.95 kB / 328.9 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.072e-05/0.3708, allocations: 34.44 kB / 328.9 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.3711, allocations: 70.81 kB / 329 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003356/0.3715, allocations: 233.2 kB / 329.2 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.3716, allocations: 40.59 kB / 329.3 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.3726, allocations: 0.6418 MB / 329.9 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.3729, allocations: 155 kB / 330.1 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.592e-05/0.3729, allocations: 7.5 kB / 330.1 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.227e-05/0.373, allocations: 7.531 kB / 330.1 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.3731, allocations: 134.9 kB / 330.2 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.3733, allocations: 124 kB / 330.3 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005882/0.3739, allocations: 0.5899 MB / 330.9 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3739, allocations: 0 / 330.9 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3739, allocations: 0 / 330.9 MB, free: 14.38 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.3739, allocations: 0 / 330.9 MB, free: 14.38 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.001261/0.3752, allocations: 1.055 MB / 332 MB, free: 13.36 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3752, allocations: 9.438 kB / 332 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.3754, allocations: 77.41 kB / 332.1 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004688/0.3758, allocations: 363.3 kB / 332.4 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.3759, allocations: 14.53 kB / 332.4 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.997e-05/0.3759, allocations: 19.59 kB / 332.4 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006099/0.3766, allocations: 244 kB / 332.7 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3766, allocations: 0 / 332.7 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.718e-05/0.3766, allocations: 11.5 kB / 332.7 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.3767, allocations: 6.188 kB / 332.7 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003874/0.3771, allocations: 137.9 kB / 332.8 MB, free: 12.8 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.3785, allocations: 0.7311 MB / 333.6 MB, free: 12.21 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000406/0.3789, allocations: 206.4 kB / 333.8 MB, free: 12 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.3793, allocations: 176.8 kB / 333.9 MB, free: 11.83 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.3793, allocations: 0 / 333.9 MB, free: 11.83 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006346/0.3799, allocations: 389.9 kB / 334.3 MB, free: 11.41 MB / 270.1 MB Notification: Performance of pre-optimization done (n=29): time 1.823e-06/0.38, allocations: 0 / 334.3 MB, free: 11.41 MB / 270.1 MB Notification: Performance of matching and sorting (n=29): time 0.001699/0.3817, allocations: 0.9323 MB / 335.3 MB, free: 10.42 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002024/0.3819, allocations: 285 kB / 335.5 MB, free: 10.08 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.3832, allocations: 0.953 MB / 336.5 MB, free: 9.121 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 6.024e-05/0.3833, allocations: 33.7 kB / 336.5 MB, free: 9.082 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3834, allocations: 130 kB / 336.6 MB, free: 8.949 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.178e-05/0.3835, allocations: 67.19 kB / 336.7 MB, free: 8.883 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.3836, allocations: 4 kB / 336.7 MB, free: 8.879 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.3837, allocations: 338.8 kB / 337 MB, free: 8.539 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.384, allocations: 124.2 kB / 337.2 MB, free: 8.418 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.3843, allocations: 168 kB / 337.3 MB, free: 8.242 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.3846, allocations: 349.5 kB / 337.7 MB, free: 7.852 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3847, allocations: 0 / 337.7 MB, free: 7.852 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001088/0.3857, allocations: 0.7564 MB / 338.4 MB, free: 7.039 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001647/0.3859, allocations: 245.7 kB / 338.7 MB, free: 6.75 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3859, allocations: 4 kB / 338.7 MB, free: 6.746 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.386, allocations: 4 kB / 338.7 MB, free: 6.742 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.137e-05/0.386, allocations: 7.953 kB / 338.7 MB, free: 6.734 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.386, allocations: 4 kB / 338.7 MB, free: 6.73 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/0.3863, allocations: 27.92 kB / 338.7 MB, free: 6.703 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.3865, allocations: 112.1 kB / 338.8 MB, free: 6.594 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.0007365/0.3872, allocations: 0.6124 MB / 339.4 MB, free: 5.922 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.3873, allocations: 75.16 kB / 339.5 MB, free: 5.848 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/0.3876, allocations: 126.9 kB / 339.6 MB, free: 5.719 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3876, allocations: 0 / 339.6 MB, free: 5.719 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.3876, allocations: 3.953 kB / 339.6 MB, free: 5.715 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.3876, allocations: 4 kB / 339.6 MB, free: 5.711 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.3896, allocations: 1.425 MB / 341.1 MB, free: 4.18 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3896, allocations: 0 / 341.1 MB, free: 4.18 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-05/0.3896, allocations: 8 kB / 341.1 MB, free: 4.172 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.3896, allocations: 4 kB / 341.1 MB, free: 4.168 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.974e-05/0.3897, allocations: 27.98 kB / 341.1 MB, free: 4.141 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.3897, allocations: 3.953 kB / 341.1 MB, free: 4.137 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3897, allocations: 0 / 341.1 MB, free: 4.137 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.3909, allocations: 0.9532 MB / 342.1 MB, free: 3.117 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005954/0.3915, allocations: 427.6 kB / 342.5 MB, free: 2.68 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.3917, allocations: 24 kB / 342.5 MB, free: 2.656 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.3919, allocations: 27.98 kB / 342.5 MB, free: 2.629 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002014/0.3921, allocations: 63.88 kB / 342.6 MB, free: 2.566 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.3922, allocations: 111.9 kB / 342.7 MB, free: 2.457 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.001028/0.3933, allocations: 0.6899 MB / 343.4 MB, free: 1.77 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3933, allocations: 0 / 343.4 MB, free: 1.77 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004407/0.3937, allocations: 95.94 kB / 343.5 MB, free: 1.676 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.0002176/0.394, allocations: 151.2 kB / 343.6 MB, free: 1.52 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.395, allocations: 0.8818 MB / 344.5 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.395, allocations: 4 kB / 344.5 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000717/0.3957, allocations: 0.753 MB / 345.3 MB, free: 15.68 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.3968, allocations: 234.7 kB / 345.5 MB, free: 15.45 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.3993, allocations: 1.444 MB / 346.9 MB, free: 13.98 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007622/0.4001, allocations: 0.9518 MB / 347.9 MB, free: 13 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000371/0.4005, allocations: 97.27 kB / 348 MB, free: 12.91 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.4006, allocations: 43.36 kB / 348 MB, free: 12.87 MB / 286.1 MB Notification: Performance of SimCode: time 2.024e-06/0.4006, allocations: 0 / 348 MB, free: 12.87 MB / 286.1 MB Notification: Performance of Templates: time 0.01556/0.4162, allocations: 8.215 MB / 356.2 MB, free: 4.621 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)