Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007959/0.007959, allocations: 104.8 kB / 15.74 MB, free: 6.039 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.001677/0.001678, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.573/1.573, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.001462/0.001462, allocations: 62.55 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1313, allocations: 46.61 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004319/0.1357, allocations: 2.454 MB / 375.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.1373, allocations: 0.6708 MB / 376.3 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002904/0.1376, allocations: 8 kB / 376.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.1379, allocations: 39.64 kB / 376.3 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.1381, allocations: 67.34 kB / 376.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.1386, allocations: 83.77 kB / 376.5 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004475/0.139, allocations: 278.6 kB / 376.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002824/0.1393, allocations: 96.27 kB / 376.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.1396, allocations: 107.6 kB / 377 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003871/0.14, allocations: 115.5 kB / 377.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.229e-05/0.1401, allocations: 24 kB / 377.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.1403, allocations: 35.98 kB / 377.1 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.618e-05/0.1403, allocations: 55.72 kB / 377.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.1405, allocations: 123.5 kB / 377.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004958/0.141, allocations: 279 kB / 377.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/0.141, allocations: 0 / 377.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.141, allocations: 0 / 377.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.1411, allocations: 3.938 kB / 377.6 MB, free: 12.88 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001161/0.1422, allocations: 0.5224 MB / 378.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.1423, allocations: 8.031 kB / 378.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.06e-05/0.1424, allocations: 28.66 kB / 378.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.1428, allocations: 244.6 kB / 378.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.1429, allocations: 12.81 kB / 378.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.996e-05/0.1429, allocations: 20.38 kB / 378.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/0.1434, allocations: 191.2 kB / 378.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.1434, allocations: 0 / 378.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.1434, allocations: 12 kB / 378.6 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.1435, allocations: 8 kB / 378.6 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003316/0.1438, allocations: 149.7 kB / 378.8 MB, free: 11.6 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.1456, allocations: 0.9295 MB / 379.7 MB, free: 10.56 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.146, allocations: 150.6 kB / 379.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.1463, allocations: 100.8 kB / 379.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.1463, allocations: 0 / 379.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.1464, allocations: 38.56 kB / 380 MB, free: 10.26 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.172e-06/0.1464, allocations: 4 kB / 380 MB, free: 10.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001366/0.1477, allocations: 419.8 kB / 380.4 MB, free: 9.816 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.1478, allocations: 55.31 kB / 380.4 MB, free: 9.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.148, allocations: 170.4 kB / 380.6 MB, free: 9.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.148, allocations: 29.7 kB / 380.6 MB, free: 9.535 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.1482, allocations: 140.2 kB / 380.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.421e-05/0.1482, allocations: 63.11 kB / 380.8 MB, free: 9.332 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.1483, allocations: 37.7 kB / 380.9 MB, free: 9.289 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.1485, allocations: 330.7 kB / 381.2 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.1486, allocations: 51.97 kB / 381.3 MB, free: 8.906 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.1488, allocations: 69.62 kB / 381.3 MB, free: 8.832 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.1491, allocations: 133.6 kB / 381.5 MB, free: 8.695 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1491, allocations: 0 / 381.5 MB, free: 8.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005281/0.1496, allocations: 218.2 kB / 381.7 MB, free: 8.473 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.1497, allocations: 7.938 kB / 381.7 MB, free: 8.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.1497, allocations: 4 kB / 381.7 MB, free: 8.461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.1511, allocations: 212.6 kB / 381.9 MB, free: 8.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.1513, allocations: 39.91 kB / 381.9 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006791/0.152, allocations: 0.607 MB / 382.5 MB, free: 7.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.1521, allocations: 15.81 kB / 382.5 MB, free: 7.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.1522, allocations: 8 kB / 382.6 MB, free: 7.555 MB / 318.1 MB 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.1523, allocations: 141.8 kB / 382.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.1524, allocations: 15.81 kB / 382.7 MB, free: 7.391 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005111/0.1529, allocations: 224.3 kB / 382.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1529, allocations: 0 / 382.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1529, allocations: 0 / 382.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1529, allocations: 3.984 kB / 382.9 MB, free: 7.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009023/0.1538, allocations: 0.5974 MB / 383.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1539, allocations: 0 / 383.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.154, allocations: 31.98 kB / 383.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009759/0.155, allocations: 200.7 kB / 383.8 MB, free: 6.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.155, allocations: 4 kB / 383.8 MB, free: 6.266 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005417/0.1556, allocations: 0.6225 MB / 384.4 MB, free: 5.617 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.1556, allocations: 3.938 kB / 384.4 MB, free: 5.613 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009951/0.1566, allocations: 424.8 kB / 384.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.1567, allocations: 96.94 kB / 384.9 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.1568, allocations: 4 kB / 384.9 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.1569, allocations: 4 kB / 384.9 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/0.157, allocations: 15.98 kB / 384.9 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.157, allocations: 4 kB / 384.9 MB, free: 5.035 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.1572, allocations: 140.3 kB / 385.1 MB, free: 4.898 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1572, allocations: 3.938 kB / 385.1 MB, free: 4.895 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003959/0.1576, allocations: 59.75 kB / 385.1 MB, free: 4.836 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002583/0.1578, allocations: 107.2 kB / 385.2 MB, free: 4.719 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004509/0.1583, allocations: 148.4 kB / 385.4 MB, free: 4.574 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.1583, allocations: 0 / 385.4 MB, free: 4.574 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.1585, allocations: 91.89 kB / 385.5 MB, free: 4.484 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.1589, allocations: 32.03 kB / 385.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.16, allocations: 0.5444 MB / 386 MB, free: 3.879 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.1603, allocations: 0.74 MB / 386.8 MB, free: 3.113 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.123e-05/0.1604, allocations: 5.562 kB / 386.8 MB, free: 3.109 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.1604, allocations: 19.42 kB / 386.8 MB, free: 3.094 MB / 318.1 MB Notification: Performance of SimCode: time 1.633e-06/0.1604, allocations: 0 / 386.8 MB, free: 3.094 MB / 318.1 MB Notification: Performance of Templates: time 0.006967/0.1674, allocations: 2.579 MB / 389.4 MB, free: 0.5117 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1)