Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.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.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 106.5 kB / 17.06 MB, free: 6.102 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.001211/0.001211, allocations: 194.9 kB / 18 MB, free: 5.172 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.364/1.364, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.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.001231/0.001231, allocations: 51.92 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.128, allocations: 46.61 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.2235/0.3516, allocations: 5.2 MB / 379.7 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006987/0.3586, allocations: 6.566 MB / 386.2 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005895/0.3592, allocations: 41.31 kB / 386.3 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.3605, allocations: 0.4903 MB / 386.8 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001985/0.3625, allocations: 0.8145 MB / 387.6 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.3637, allocations: 434.3 kB / 388 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002507/0.3662, allocations: 1.979 MB / 390 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002602/0.3665, allocations: 177.8 kB / 390.2 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003871/0.3669, allocations: 339.8 kB / 390.5 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003617/0.3672, allocations: 342.9 kB / 390.8 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.709e-05/0.3673, allocations: 30.03 kB / 390.9 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.3684, allocations: 469.3 kB / 391.3 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.138e-05/0.3685, allocations: 115.7 kB / 391.4 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003185/0.3688, allocations: 450.1 kB / 391.9 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.3701, allocations: 1.279 MB / 393.1 MB, free: 3.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3701, allocations: 0 / 393.1 MB, free: 3.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3702, allocations: 1.031 kB / 393.1 MB, free: 3.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.3702, allocations: 0 / 393.1 MB, free: 3.742 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00168/0.3719, allocations: 1.49 MB / 394.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3719, allocations: 9.594 kB / 394.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.3721, allocations: 136.9 kB / 394.8 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.3731, allocations: 0.8567 MB / 395.6 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.3731, allocations: 18 kB / 395.7 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.783e-05/0.3732, allocations: 26.67 kB / 395.7 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005105/0.3737, allocations: 308.9 kB / 396 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3737, allocations: 0 / 396 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.3737, allocations: 11.66 kB / 396 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.3738, allocations: 6.109 kB / 396 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004052/0.3742, allocations: 228 kB / 396.2 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.3759, allocations: 1.125 MB / 397.3 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003646/0.3763, allocations: 240.3 kB / 397.6 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00046/0.3768, allocations: 293.9 kB / 397.9 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008031/0.3776, allocations: 0.7494 MB / 398.6 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.3776, allocations: 41.08 kB / 398.7 MB, free: 52 kB / 318.1 MB Notification: Performance of pre-optimization done (n=38): time 1.904e-06/0.3776, allocations: 3.938 kB / 398.7 MB, free: 48 kB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.002912/0.3805, allocations: 1.561 MB / 400.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.3806, allocations: 111.4 kB / 400.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.3817, allocations: 0.9309 MB / 401.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.3817, allocations: 31.08 kB / 401.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000297/0.382, allocations: 357.9 kB / 401.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.3822, allocations: 138.6 kB / 401.8 MB, free: 14.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.3824, allocations: 119.3 kB / 401.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.3825, allocations: 329.2 kB / 402.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.3827, allocations: 121.5 kB / 402.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.383, allocations: 163.2 kB / 402.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.3845, allocations: 0.7414 MB / 403.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3845, allocations: 0 / 403.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009226/0.3854, allocations: 0.5582 MB / 403.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.712e-05/0.3855, allocations: 45.42 kB / 403.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.468e-05/0.3855, allocations: 16.25 kB / 403.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/0.3858, allocations: 67.11 kB / 403.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.386, allocations: 44.98 kB / 404 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/0.3886, allocations: 3.33 MB / 407.3 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/0.3889, allocations: 17.95 kB / 407.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.147e-05/0.389, allocations: 26.55 kB / 407.3 MB, free: 9.613 MB / 334.1 MB Warning: Assuming fixed start value for the following 4 variables: D2.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D4.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D3.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D1.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004223/0.3894, allocations: 265.9 kB / 407.6 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.3896, allocations: 126.4 kB / 407.7 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.3909, allocations: 0.6669 MB / 408.4 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.391, allocations: 4.391 kB / 408.4 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.391, allocations: 1.25 kB / 408.4 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.391, allocations: 1.406 kB / 408.4 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009238/0.3919, allocations: 0.6158 MB / 409 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.123e-05/0.3919, allocations: 19.31 kB / 409 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.3921, allocations: 37.84 kB / 409.1 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002009/0.3923, allocations: 68.39 kB / 409.1 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/0.3924, allocations: 13.53 kB / 409.1 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00236/0.3948, allocations: 3.338 MB / 412.5 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3948, allocations: 0 / 412.5 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.3961, allocations: 0.8692 MB / 413.4 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003696/0.3965, allocations: 273.9 kB / 413.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.3966, allocations: 10.81 kB / 413.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.3969, allocations: 19.27 kB / 413.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.931e-05/0.397, allocations: 27.44 kB / 413.7 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/0.397, allocations: 17.91 kB / 413.7 MB, free: 4.391 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007779/0.3978, allocations: 0.6311 MB / 414.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3978, allocations: 0 / 414.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000952/0.3988, allocations: 222.7 kB / 414.5 MB, free: 3.984 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D1.pin,D4.n.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006069/0.3994, allocations: 318.2 kB / 414.9 MB, free: 3.785 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.4006, allocations: 0.7662 MB / 415.6 MB, free: 3.184 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4006, allocations: 4.062 kB / 415.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006949/0.4013, allocations: 0.624 MB / 416.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.4019, allocations: 102 kB / 416.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.4041, allocations: 1.609 MB / 418 MB, free: 1.551 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.4047, allocations: 1.004 MB / 419 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000301/0.405, allocations: 89.64 kB / 419 MB, free: 0.668 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.177e-05/0.4051, allocations: 47.31 kB / 419.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4051, allocations: 0 / 419.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of Templates: time 0.01615/0.4212, allocations: 8.679 MB / 427.8 MB, free: 8.758 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1)