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.00834/0.00834, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001703/0.001703, allocations: 189.4 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.56/1.56, allocations: 205.1 MB / 222.6 MB, free: 4.488 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.001253/0.001253, allocations: 46.34 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1177, allocations: 46.63 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003833/0.1216, allocations: 2.454 MB / 375.6 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.1227, allocations: 0.6825 MB / 376.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.1229, allocations: 0 / 376.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.1231, allocations: 35.64 kB / 376.3 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.1232, allocations: 67.34 kB / 376.4 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.1236, allocations: 79.84 kB / 376.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003413/0.1239, allocations: 282.6 kB / 376.8 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.1241, allocations: 88.33 kB / 376.9 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.1243, allocations: 107.6 kB / 377 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.1245, allocations: 115.5 kB / 377.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.804e-05/0.1245, allocations: 23.94 kB / 377.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-05/0.1246, allocations: 40 kB / 377.1 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.898e-05/0.1247, allocations: 47.83 kB / 377.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.1248, allocations: 123.5 kB / 377.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.1251, allocations: 286.7 kB / 377.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.1252, allocations: 0 / 377.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1252, allocations: 0 / 377.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.1252, allocations: 0 / 377.6 MB, free: 12.87 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.000878/0.1261, allocations: 0.5377 MB / 378.1 MB, free: 12.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1261, allocations: 12.02 kB / 378.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.952e-05/0.1262, allocations: 24.8 kB / 378.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.1265, allocations: 236.7 kB / 378.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.1266, allocations: 12.81 kB / 378.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.876e-05/0.1266, allocations: 24.38 kB / 378.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.127, allocations: 187.2 kB / 378.6 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.127, allocations: 4 kB / 378.6 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.127, allocations: 12 kB / 378.6 MB, free: 11.74 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.1271, allocations: 4 kB / 378.6 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.1274, allocations: 149.7 kB / 378.8 MB, free: 11.59 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.001505/0.1289, allocations: 0.9258 MB / 379.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.1292, allocations: 154.6 kB / 379.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.1294, allocations: 96.81 kB / 379.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.1295, allocations: 0 / 379.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.1295, allocations: 46.5 kB / 380 MB, free: 10.24 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 2.464e-06/0.1295, allocations: 7.984 kB / 380 MB, free: 10.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001239/0.1308, allocations: 415.9 kB / 380.4 MB, free: 9.801 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.1308, allocations: 51.41 kB / 380.5 MB, free: 9.738 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.131, allocations: 166.4 kB / 380.6 MB, free: 9.562 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.131, allocations: 37.7 kB / 380.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1311, allocations: 152.2 kB / 380.8 MB, free: 9.367 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/0.1312, allocations: 63.44 kB / 380.9 MB, free: 9.305 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-05/0.1313, allocations: 33.7 kB / 380.9 MB, free: 9.266 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1314, allocations: 334.8 kB / 381.2 MB, free: 8.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.1315, allocations: 43.98 kB / 381.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.1316, allocations: 69.69 kB / 381.3 MB, free: 8.812 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.1319, allocations: 137.6 kB / 381.5 MB, free: 8.672 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1319, allocations: 0 / 381.5 MB, free: 8.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003912/0.1323, allocations: 218.3 kB / 381.7 MB, free: 8.449 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1323, allocations: 12 kB / 381.7 MB, free: 8.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1323, allocations: 0 / 381.7 MB, free: 8.438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/0.1336, allocations: 228.6 kB / 381.9 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.1338, allocations: 31.98 kB / 381.9 MB, free: 8.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004876/0.1343, allocations: 0.6108 MB / 382.6 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.1344, allocations: 12.03 kB / 382.6 MB, free: 7.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.1344, allocations: 12 kB / 382.6 MB, free: 7.52 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.0001421/0.1346, allocations: 129.8 kB / 382.7 MB, free: 7.383 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.1346, allocations: 15.91 kB / 382.7 MB, free: 7.367 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004489/0.1351, allocations: 228.2 kB / 382.9 MB, free: 7.137 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.1351, allocations: 3.984 kB / 382.9 MB, free: 7.133 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.1351, allocations: 0 / 382.9 MB, free: 7.133 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1351, allocations: 4 kB / 383 MB, free: 7.129 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008552/0.136, allocations: 0.5935 MB / 383.5 MB, free: 6.473 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.136, allocations: 0 / 383.5 MB, free: 6.473 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.1361, allocations: 27.92 kB / 383.6 MB, free: 6.445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009703/0.1371, allocations: 208.7 kB / 383.8 MB, free: 6.238 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.1371, allocations: 0 / 383.8 MB, free: 6.238 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000467/0.1376, allocations: 0.6226 MB / 384.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1376, allocations: 0 / 384.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007762/0.1384, allocations: 428.9 kB / 384.8 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/0.1385, allocations: 92.98 kB / 384.9 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.1385, allocations: 4 kB / 384.9 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.1386, allocations: 12 kB / 384.9 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.1387, allocations: 27.91 kB / 385 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.1387, allocations: 8 kB / 385 MB, free: 4.988 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.1388, allocations: 132.2 kB / 385.1 MB, free: 4.859 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1388, allocations: 0 / 385.1 MB, free: 4.859 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000299/0.1391, allocations: 55.89 kB / 385.1 MB, free: 4.805 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.0001819/0.1393, allocations: 103.2 kB / 385.2 MB, free: 4.691 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004483/0.1398, allocations: 156.3 kB / 385.4 MB, free: 4.539 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1398, allocations: 0 / 385.4 MB, free: 4.539 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.14, allocations: 91.81 kB / 385.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.1403, allocations: 31.95 kB / 385.5 MB, free: 4.418 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.1414, allocations: 0.5554 MB / 386.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.1418, allocations: 0.7361 MB / 386.8 MB, free: 3.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.216e-05/0.1419, allocations: 13.55 kB / 386.8 MB, free: 3.059 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.1419, allocations: 11.44 kB / 386.8 MB, free: 3.051 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.142, allocations: 4 kB / 386.8 MB, free: 3.047 MB / 318.1 MB Notification: Performance of Templates: time 0.007051/0.149, allocations: 2.575 MB / 389.4 MB, free: 480 kB / 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)