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.0009919/0.0009918, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008968/0.008967, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.966/1.966, allocations: 205.4 MB / 222.4 MB, free: 5.781 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.0006488/0.0006488, allocations: 16 kB / 279.4 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.4276, allocations: 47.59 MB / 327 MB, free: 1.367 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003084/0.4307, allocations: 1.505 MB / 328.5 MB, free: 168 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.003706/0.4345, allocations: 1.014 MB / 329.6 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.4346, allocations: 1.531 kB / 329.6 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.4349, allocations: 18.8 kB / 329.6 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.4351, allocations: 30.27 kB / 329.6 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006261/0.4357, allocations: 91.25 kB / 329.7 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005946/0.4363, allocations: 247.8 kB / 329.9 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002973/0.4366, allocations: 42.44 kB / 330 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/0.4384, allocations: 0.7167 MB / 330.7 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003677/0.4388, allocations: 140.1 kB / 330.8 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.905e-05/0.4389, allocations: 7.375 kB / 330.8 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.073e-05/0.439, allocations: 8.125 kB / 330.9 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002621/0.4393, allocations: 131.5 kB / 331 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003913/0.4397, allocations: 254.5 kB / 331.2 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.4411, allocations: 0.7149 MB / 331.9 MB, free: 13.96 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.4411, allocations: 1.125 kB / 331.9 MB, free: 13.96 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.008e-06/0.4411, allocations: 0 / 331.9 MB, free: 13.96 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.4411, allocations: 0 / 331.9 MB, free: 13.96 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.001859/0.443, allocations: 1.038 MB / 333 MB, free: 12.96 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.347e-05/0.4431, allocations: 10.09 kB / 333 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.4433, allocations: 81.06 kB / 333.1 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.4443, allocations: 391 kB / 333.5 MB, free: 12.57 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.788e-05/0.4444, allocations: 11.47 kB / 333.5 MB, free: 12.57 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.14e-05/0.4445, allocations: 19.69 kB / 333.5 MB, free: 12.56 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008785/0.4454, allocations: 256.1 kB / 333.7 MB, free: 12.42 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.4454, allocations: 0 / 333.7 MB, free: 12.42 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-05/0.4455, allocations: 6.656 kB / 333.7 MB, free: 12.42 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.4455, allocations: 10.23 kB / 333.7 MB, free: 12.41 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006777/0.4462, allocations: 135 kB / 333.9 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.4481, allocations: 0.7393 MB / 334.6 MB, free: 11.61 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005937/0.4487, allocations: 206.4 kB / 334.8 MB, free: 11.39 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006402/0.4494, allocations: 176.8 kB / 335 MB, free: 11.22 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.4494, allocations: 0 / 335 MB, free: 11.22 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009502/0.4504, allocations: 385.9 kB / 335.4 MB, free: 10.8 MB / 270.1 MB Notification: Performance of pre-optimization done (n=29): time 2.665e-06/0.4504, allocations: 0 / 335.4 MB, free: 10.8 MB / 270.1 MB Notification: Performance of matching and sorting (n=29): time 0.003137/0.4536, allocations: 0.9324 MB / 336.3 MB, free: 9.816 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004214/0.454, allocations: 285 kB / 336.6 MB, free: 9.477 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002831/0.4568, allocations: 0.9491 MB / 337.5 MB, free: 8.52 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 9.826e-05/0.457, allocations: 37.7 kB / 337.6 MB, free: 8.477 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.4572, allocations: 126 kB / 337.7 MB, free: 8.348 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.4573, allocations: 63.2 kB / 337.8 MB, free: 8.285 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.4575, allocations: 41.7 kB / 337.8 MB, free: 8.238 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0003462/0.4578, allocations: 334.8 kB / 338.1 MB, free: 7.902 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004781/0.4583, allocations: 128.2 kB / 338.2 MB, free: 7.777 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005375/0.4589, allocations: 163.9 kB / 338.4 MB, free: 7.605 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.4603, allocations: 0.7021 MB / 339.1 MB, free: 6.789 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/0.4603, allocations: 7.875 kB / 339.1 MB, free: 6.781 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.002588/0.4629, allocations: 0.7526 MB / 339.9 MB, free: 5.973 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003401/0.4633, allocations: 245.6 kB / 340.1 MB, free: 5.684 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.4633, allocations: 3.984 kB / 340.1 MB, free: 5.68 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/0.4634, allocations: 0 / 340.1 MB, free: 5.68 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.095e-05/0.4634, allocations: 11.94 kB / 340.1 MB, free: 5.668 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.4635, allocations: 0 / 340.1 MB, free: 5.668 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006985/0.4642, allocations: 35.97 kB / 340.2 MB, free: 5.633 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/0.4644, allocations: 104.2 kB / 340.3 MB, free: 5.531 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.001703/0.4661, allocations: 0.6201 MB / 340.9 MB, free: 4.852 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/0.4664, allocations: 83.05 kB / 341 MB, free: 4.77 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004666/0.4669, allocations: 130.9 kB / 341.1 MB, free: 4.637 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.4669, allocations: 4 kB / 341.1 MB, free: 4.633 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.4669, allocations: 0 / 341.1 MB, free: 4.633 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.4669, allocations: 0 / 341.1 MB, free: 4.633 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004033/0.471, allocations: 1.425 MB / 342.5 MB, free: 3.102 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.471, allocations: 4 kB / 342.5 MB, free: 3.098 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.194e-05/0.471, allocations: 7.938 kB / 342.5 MB, free: 3.09 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.4711, allocations: 4 kB / 342.5 MB, free: 3.086 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.812e-05/0.4712, allocations: 27.98 kB / 342.6 MB, free: 3.059 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.4712, allocations: 3.984 kB / 342.6 MB, free: 3.055 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4712, allocations: 0 / 342.6 MB, free: 3.055 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002746/0.474, allocations: 0.957 MB / 343.5 MB, free: 2.031 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001452/0.4754, allocations: 411.8 kB / 343.9 MB, free: 1.609 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/0.4757, allocations: 28 kB / 344 MB, free: 1.582 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005244/0.4762, allocations: 35.86 kB / 344 MB, free: 1.547 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003185/0.4766, allocations: 51.94 kB / 344 MB, free: 1.496 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002551/0.4768, allocations: 119.8 kB / 344.2 MB, free: 1.379 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.00204/0.4789, allocations: 0.6899 MB / 344.8 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.4789, allocations: 0 / 344.8 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0007535/0.4797, allocations: 95.84 kB / 344.9 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.0003236/0.48, allocations: 155.2 kB / 345.1 MB, free: 448 kB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001909/0.4819, allocations: 0.8818 MB / 346 MB, free: 15.46 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.482, allocations: 0 / 346 MB, free: 15.46 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.4832, allocations: 0.7491 MB / 346.7 MB, free: 14.61 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/0.4854, allocations: 250.9 kB / 347 MB, free: 14.36 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004746/0.4901, allocations: 1.499 MB / 348.5 MB, free: 12.84 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/0.4914, allocations: 0.9401 MB / 349.4 MB, free: 11.87 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0006391/0.4921, allocations: 93.33 kB / 349.5 MB, free: 11.78 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.4923, allocations: 51.36 kB / 349.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of SimCode: time 3.166e-06/0.4923, allocations: 0 / 349.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of Templates: time 0.02929/0.5216, allocations: 8.394 MB / 357.9 MB, free: 3.305 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)