Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.005702/0.005702, allocations: 101 kB / 15.73 MB, free: 6.477 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.001179/0.001179, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.557/1.557, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.001226/0.001226, allocations: 51.17 kB / 326.6 MB, free: 14.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1248, allocations: 46.62 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003624/0.1285, allocations: 2.447 MB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1296, allocations: 0.6747 MB / 376.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.1297, allocations: 4 kB / 376.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.1299, allocations: 39.64 kB / 376.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.13, allocations: 63.36 kB / 376.4 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.1304, allocations: 83.77 kB / 376.5 MB, free: 14 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.1307, allocations: 282.6 kB / 376.8 MB, free: 13.72 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.1309, allocations: 88.27 kB / 376.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.131, allocations: 107.6 kB / 377 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.1312, allocations: 115.5 kB / 377.1 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.1312, allocations: 24 kB / 377.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.091e-05/0.1313, allocations: 35.98 kB / 377.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.486e-05/0.1314, allocations: 55.72 kB / 377.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.1315, allocations: 119.5 kB / 377.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.1318, allocations: 283 kB / 377.6 MB, free: 12.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.1318, allocations: 0 / 377.6 MB, free: 12.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1318, allocations: 7.938 kB / 377.6 MB, free: 12.9 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1318, allocations: 0 / 377.6 MB, free: 12.9 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.0008546/0.1327, allocations: 0.5146 MB / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1328, allocations: 12.03 kB / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.709e-05/0.1328, allocations: 24.66 kB / 378.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.1332, allocations: 244.6 kB / 378.4 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.1332, allocations: 16.81 kB / 378.4 MB, free: 12.01 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.163e-05/0.1333, allocations: 16.38 kB / 378.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/0.1336, allocations: 203.2 kB / 378.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.1337, allocations: 0 / 378.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.1337, allocations: 4 kB / 378.6 MB, free: 11.78 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.1337, allocations: 8 kB / 378.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000309/0.134, allocations: 149.7 kB / 378.8 MB, free: 11.63 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.001376/0.1354, allocations: 0.9295 MB / 379.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.1357, allocations: 155.6 kB / 379.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.1359, allocations: 96.81 kB / 379.9 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.136, allocations: 11.98 kB / 379.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.136, allocations: 30.56 kB / 380 MB, free: 10.28 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.136, allocations: 0 / 380 MB, free: 10.28 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001269/0.1373, allocations: 415.8 kB / 380.4 MB, free: 9.848 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.1374, allocations: 59.31 kB / 380.4 MB, free: 9.777 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.1375, allocations: 174.4 kB / 380.6 MB, free: 9.594 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.1376, allocations: 25.7 kB / 380.6 MB, free: 9.562 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.066e-05/0.1377, allocations: 144.2 kB / 380.8 MB, free: 9.418 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.796e-05/0.1377, allocations: 59.11 kB / 380.8 MB, free: 9.359 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.559e-05/0.1378, allocations: 37.7 kB / 380.9 MB, free: 9.316 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002089/0.138, allocations: 330.7 kB / 381.2 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.1382, allocations: 51.97 kB / 381.2 MB, free: 8.934 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.1383, allocations: 77.62 kB / 381.3 MB, free: 8.852 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.1386, allocations: 129.6 kB / 381.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1386, allocations: 0 / 381.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003883/0.139, allocations: 214.2 kB / 381.7 MB, free: 8.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.139, allocations: 11.94 kB / 381.7 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.139, allocations: 0 / 381.7 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001315/0.1403, allocations: 224.6 kB / 381.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.1405, allocations: 31.92 kB / 381.9 MB, free: 8.234 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005263/0.141, allocations: 0.6069 MB / 382.5 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.1411, allocations: 19.94 kB / 382.5 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.1412, allocations: 8 kB / 382.5 MB, free: 7.574 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.0002114/0.1414, allocations: 137.7 kB / 382.7 MB, free: 7.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.1414, allocations: 15.81 kB / 382.7 MB, free: 7.414 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004952/0.1419, allocations: 220.3 kB / 382.9 MB, free: 7.191 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.142, allocations: 4 kB / 382.9 MB, free: 7.188 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.142, allocations: 4 kB / 382.9 MB, free: 7.184 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.142, allocations: 3.984 kB / 382.9 MB, free: 7.18 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.143, allocations: 0.5934 MB / 383.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.143, allocations: 0 / 383.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.1432, allocations: 27.98 kB / 383.5 MB, free: 6.496 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00105/0.1442, allocations: 204.6 kB / 383.7 MB, free: 6.293 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.1443, allocations: 12 kB / 383.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005914/0.1449, allocations: 0.6187 MB / 384.4 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1449, allocations: 0 / 384.4 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008909/0.1458, allocations: 424.8 kB / 384.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.1459, allocations: 96.94 kB / 384.9 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.146, allocations: 0 / 384.9 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.1461, allocations: 16.06 kB / 384.9 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.401e-05/0.1462, allocations: 7.984 kB / 384.9 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.1462, allocations: 8 kB / 384.9 MB, free: 5.055 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.1464, allocations: 136.2 kB / 385.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1464, allocations: 3.938 kB / 385.1 MB, free: 4.918 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000346/0.1468, allocations: 63.75 kB / 385.1 MB, free: 4.855 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.0002205/0.147, allocations: 107.2 kB / 385.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004585/0.1474, allocations: 152.4 kB / 385.4 MB, free: 4.59 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1475, allocations: 0 / 385.4 MB, free: 4.59 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.1477, allocations: 91.83 kB / 385.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.148, allocations: 24.31 kB / 385.5 MB, free: 4.477 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.1491, allocations: 0.5522 MB / 386 MB, free: 3.895 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.1495, allocations: 0.7399 MB / 386.8 MB, free: 3.129 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.742e-05/0.1495, allocations: 13.55 kB / 386.8 MB, free: 3.117 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.1496, allocations: 15.44 kB / 386.8 MB, free: 3.105 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1496, allocations: 0 / 386.8 MB, free: 3.105 MB / 318.1 MB Notification: Performance of Templates: time 0.006385/0.156, allocations: 2.575 MB / 389.4 MB, free: 0.5273 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1)