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.0008258/0.0008258, allocations: 93.17 kB / 16.65 MB, free: 6.535 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.000816/0.000816, allocations: 174 kB / 17.56 MB, free: 6.184 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.33/1.33, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.000428/0.000428, allocations: 12 kB / 280.7 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07679/0.07723, allocations: 47.58 MB / 328.3 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004557/0.08182, allocations: 4.788 MB / 333.1 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007901/0.08975, allocations: 6.599 MB / 339.7 MB, free: 8.332 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004052/0.09018, allocations: 31.75 kB / 339.7 MB, free: 8.301 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.09135, allocations: 466.6 kB / 340.2 MB, free: 7.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001556/0.09292, allocations: 0.6716 MB / 340.9 MB, free: 7.164 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008339/0.09376, allocations: 327 kB / 341.2 MB, free: 6.844 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002478/0.09625, allocations: 1.95 MB / 343.1 MB, free: 4.887 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002522/0.09652, allocations: 147.5 kB / 343.3 MB, free: 4.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003842/0.09691, allocations: 318.3 kB / 343.6 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003329/0.09725, allocations: 329.6 kB / 343.9 MB, free: 4.094 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.039e-05/0.09731, allocations: 16 kB / 343.9 MB, free: 4.078 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008641/0.09818, allocations: 451.6 kB / 344.4 MB, free: 3.637 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.432e-05/0.09828, allocations: 99.14 kB / 344.5 MB, free: 3.539 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003593/0.09865, allocations: 458.8 kB / 344.9 MB, free: 3.082 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.09984, allocations: 1.222 MB / 346.1 MB, free: 1.855 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.09985, allocations: 0 / 346.1 MB, free: 1.855 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.09987, allocations: 4 kB / 346.1 MB, free: 1.852 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.09989, allocations: 0 / 346.1 MB, free: 1.852 MB / 286.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.001631/0.1015, allocations: 1.289 MB / 347.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.1016, allocations: 8.031 kB / 347.4 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.1017, allocations: 130.3 kB / 347.6 MB, free: 376 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.1029, allocations: 0.8503 MB / 348.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.1029, allocations: 20.44 kB / 348.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.26e-05/0.103, allocations: 24 kB / 348.4 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.1035, allocations: 314.6 kB / 348.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1036, allocations: 0 / 348.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.1036, allocations: 11.94 kB / 348.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.1036, allocations: 8 kB / 348.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00043/0.1041, allocations: 221.8 kB / 349 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.1057, allocations: 1.138 MB / 350.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000391/0.1062, allocations: 238.5 kB / 350.4 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005056/0.1067, allocations: 312.3 kB / 350.7 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008821/0.1076, allocations: 0.7594 MB / 351.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.1076, allocations: 34.56 kB / 351.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=38): time 1.823e-06/0.1076, allocations: 0 / 351.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.002898/0.1105, allocations: 1.581 MB / 353 MB, free: 10.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.1106, allocations: 106.8 kB / 353.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.1116, allocations: 0.9379 MB / 354.1 MB, free: 9.426 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.1116, allocations: 37.64 kB / 354.1 MB, free: 9.383 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/0.1119, allocations: 357.5 kB / 354.5 MB, free: 9.031 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.112, allocations: 126.1 kB / 354.6 MB, free: 8.906 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.1121, allocations: 37.7 kB / 354.6 MB, free: 8.863 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1122, allocations: 321.9 kB / 354.9 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/0.1125, allocations: 132.6 kB / 355.1 MB, free: 8.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.1128, allocations: 163.6 kB / 355.2 MB, free: 8.242 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.1142, allocations: 0.7644 MB / 356 MB, free: 7.449 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1142, allocations: 0 / 356 MB, free: 7.449 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009372/0.1152, allocations: 0.562 MB / 356.6 MB, free: 6.867 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/0.1152, allocations: 37.7 kB / 356.6 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.928e-05/0.1152, allocations: 15.98 kB / 356.6 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002204/0.1155, allocations: 73.72 kB / 356.7 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.1157, allocations: 39.97 kB / 356.7 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/0.1179, allocations: 2.996 MB / 359.7 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.1182, allocations: 16.02 kB / 359.7 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.1183, allocations: 23.94 kB / 359.8 MB, free: 3.379 MB / 302.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.0003584/0.1187, allocations: 256 kB / 360 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.1188, allocations: 122.5 kB / 360.1 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.1201, allocations: 0.6726 MB / 360.8 MB, free: 2.293 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.1201, allocations: 4 kB / 360.8 MB, free: 2.289 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1201, allocations: 3.938 kB / 360.8 MB, free: 2.285 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1202, allocations: 0 / 360.8 MB, free: 2.285 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006779/0.1208, allocations: 0.616 MB / 361.4 MB, free: 1.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-05/0.1209, allocations: 19.98 kB / 361.4 MB, free: 1.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.1211, allocations: 27.98 kB / 361.5 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001831/0.1213, allocations: 77.61 kB / 361.5 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.1213, allocations: 15.98 kB / 361.6 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002144/0.1235, allocations: 2.996 MB / 364.6 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1235, allocations: 0 / 364.6 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.1248, allocations: 0.8628 MB / 365.4 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003111/0.1251, allocations: 275.4 kB / 365.7 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.293e-05/0.1252, allocations: 15.92 kB / 365.7 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.1255, allocations: 16.06 kB / 365.7 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.896e-05/0.1256, allocations: 27.97 kB / 365.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.161e-05/0.1256, allocations: 23.98 kB / 365.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006951/0.1263, allocations: 0.6217 MB / 366.4 MB, free: 12.33 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1263, allocations: 3.938 kB / 366.4 MB, free: 12.33 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007868/0.1271, allocations: 227.8 kB / 366.6 MB, free: 12.11 MB / 318.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.00051/0.1276, allocations: 315.1 kB / 366.9 MB, free: 11.79 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.1288, allocations: 0.7894 MB / 367.7 MB, free: 10.94 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1288, allocations: 0 / 367.7 MB, free: 10.94 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006484/0.1294, allocations: 0.6205 MB / 368.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005435/0.13, allocations: 96.81 kB / 368.4 MB, free: 10.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.1323, allocations: 1.981 MB / 370.4 MB, free: 8.145 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005182/0.1328, allocations: 0.9998 MB / 371.4 MB, free: 7.117 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003184/0.1331, allocations: 97.64 kB / 371.5 MB, free: 7.02 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.744e-05/0.1332, allocations: 47.42 kB / 371.6 MB, free: 6.973 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1332, allocations: 0 / 371.6 MB, free: 6.973 MB / 318.1 MB Notification: Performance of Templates: time 0.1473/0.2805, allocations: 8.31 MB / 379.9 MB, free: 52.18 MB / 318.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)