Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.006469/0.006469, allocations: 97.81 kB / 15.73 MB, free: 6.004 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.001273/0.001273, allocations: 194.5 kB / 16.67 MB, free: 5.934 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.363/1.363, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001169/0.001169, allocations: 49.58 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08535/0.08653, allocations: 46.61 MB / 373.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005844/0.0924, allocations: 5.201 MB / 378.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008574/0.101, allocations: 6.57 MB / 384.9 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.1021, allocations: 43.62 kB / 385 MB, free: 5.469 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.1039, allocations: 0.5007 MB / 385.5 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002764/0.1066, allocations: 0.803 MB / 386.3 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.1084, allocations: 426.5 kB / 386.7 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003418/0.1118, allocations: 1.981 MB / 388.7 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003883/0.1122, allocations: 179 kB / 388.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006358/0.1128, allocations: 346.2 kB / 389.2 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006142/0.1135, allocations: 345.7 kB / 389.5 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002165/0.1137, allocations: 36 kB / 389.6 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.1153, allocations: 459.6 kB / 390 MB, free: 408 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.1155, allocations: 111.2 kB / 390.1 MB, free: 296 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005711/0.1161, allocations: 449 kB / 390.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002727/0.1188, allocations: 1.283 MB / 391.8 MB, free: 14.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.1188, allocations: 0 / 391.8 MB, free: 14.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1188, allocations: 0 / 391.8 MB, free: 14.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.642e-05/0.1189, allocations: 0 / 391.8 MB, free: 14.56 MB / 334.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.002596/0.1215, allocations: 1.49 MB / 393.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.708e-05/0.1216, allocations: 11.97 kB / 393.3 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.1218, allocations: 135.1 kB / 393.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.1229, allocations: 0.8594 MB / 394.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.1229, allocations: 16.44 kB / 394.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.533e-05/0.123, allocations: 27.95 kB / 394.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005408/0.1235, allocations: 310.6 kB / 394.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1236, allocations: 0 / 394.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.1236, allocations: 7.938 kB / 394.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.1236, allocations: 8 kB / 394.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004245/0.1241, allocations: 221.8 kB / 394.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.1259, allocations: 1.122 MB / 396 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.1263, allocations: 242.5 kB / 396.3 MB, free: 9.938 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004846/0.1268, allocations: 289.8 kB / 396.5 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009843/0.1278, allocations: 0.7593 MB / 397.3 MB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.1279, allocations: 34.56 kB / 397.3 MB, free: 8.699 MB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 1.873e-06/0.1279, allocations: 0 / 397.3 MB, free: 8.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.002946/0.1308, allocations: 1.568 MB / 398.9 MB, free: 7.035 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.165e-05/0.1309, allocations: 114.8 kB / 399 MB, free: 6.898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.132, allocations: 0.934 MB / 400 MB, free: 5.957 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.132, allocations: 29.7 kB / 400 MB, free: 5.922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.1323, allocations: 357.8 kB / 400.3 MB, free: 5.566 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.679e-05/0.1324, allocations: 138.8 kB / 400.5 MB, free: 5.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.1326, allocations: 121.7 kB / 400.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1327, allocations: 321.9 kB / 400.9 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.133, allocations: 116.6 kB / 401 MB, free: 4.867 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/0.1332, allocations: 171.5 kB / 401.2 MB, free: 4.691 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.1347, allocations: 0.737 MB / 401.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1347, allocations: 3.938 kB / 401.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009052/0.1356, allocations: 0.5586 MB / 402.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.1357, allocations: 37.7 kB / 402.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.773e-05/0.1357, allocations: 12 kB / 402.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002253/0.1359, allocations: 69.67 kB / 402.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.1362, allocations: 51.91 kB / 402.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/0.1387, allocations: 3.331 MB / 406 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.139, allocations: 8.188 kB / 406 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/0.1391, allocations: 23.98 kB / 406 MB, free: 15.53 MB / 350.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.000396/0.1395, allocations: 279.8 kB / 406.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.1396, allocations: 123.2 kB / 406.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.1409, allocations: 0.6646 MB / 407.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.1409, allocations: 4 kB / 407.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1409, allocations: 8 kB / 407.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.1409, allocations: 3.984 kB / 407.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006885/0.1416, allocations: 0.616 MB / 407.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.341e-05/0.1417, allocations: 15.94 kB / 407.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.1418, allocations: 35.97 kB / 407.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001942/0.142, allocations: 69.67 kB / 407.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.1421, allocations: 12 kB / 407.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002351/0.1445, allocations: 3.335 MB / 411.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1445, allocations: 8.109 kB / 411.2 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.1457, allocations: 0.8479 MB / 412 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/0.1461, allocations: 284.1 kB / 412.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.763e-05/0.1462, allocations: 15.94 kB / 412.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.1464, allocations: 8 kB / 412.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.499e-05/0.1465, allocations: 31.95 kB / 412.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/0.1466, allocations: 20 kB / 412.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007487/0.1473, allocations: 0.6256 MB / 413 MB, free: 8.125 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1474, allocations: 0 / 413 MB, free: 8.125 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008331/0.1482, allocations: 235.6 kB / 413.2 MB, free: 7.895 MB / 350.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.0005145/0.1487, allocations: 310.5 kB / 413.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.1499, allocations: 0.7767 MB / 414.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1499, allocations: 0 / 414.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006614/0.1505, allocations: 0.6175 MB / 414.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005466/0.1511, allocations: 104.7 kB / 415 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.1533, allocations: 1.605 MB / 416.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/0.1539, allocations: 1.004 MB / 417.6 MB, free: 3.277 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002598/0.1542, allocations: 97.62 kB / 417.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.144e-05/0.1543, allocations: 47.44 kB / 417.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1543, allocations: 0 / 417.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of Templates: time 0.01566/0.1699, allocations: 8.68 MB / 426.5 MB, free: 10.44 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.1_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1)