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.006624/0.006624, allocations: 97.19 kB / 15.73 MB, free: 6.059 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.001354/0.001354, allocations: 197.1 kB / 16.68 MB, free: 5.969 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.657/1.657, allocations: 205.1 MB / 222.6 MB, free: 4.258 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.00124/0.00124, allocations: 46.56 kB / 326.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1061, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004235/0.1104, allocations: 2.466 MB / 375.6 MB, free: 14.81 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.1116, allocations: 0.6669 MB / 376.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.1117, allocations: 4 kB / 376.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.1119, allocations: 39.64 kB / 376.3 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.112, allocations: 71.33 kB / 376.4 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.1123, allocations: 75.86 kB / 376.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000287/0.1126, allocations: 286.5 kB / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.1128, allocations: 84.33 kB / 376.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.113, allocations: 111.6 kB / 377 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.1132, allocations: 115.5 kB / 377.1 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.1132, allocations: 28 kB / 377.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.673e-05/0.1133, allocations: 35.94 kB / 377.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.275e-05/0.1133, allocations: 51.81 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.1135, allocations: 123.4 kB / 377.3 MB, free: 13.13 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.1138, allocations: 282.8 kB / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1138, allocations: 0 / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1138, allocations: 0 / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1138, allocations: 0 / 377.6 MB, free: 12.86 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.000815/0.1146, allocations: 0.5338 MB / 378.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1147, allocations: 12.02 kB / 378.1 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.225e-05/0.1148, allocations: 28.8 kB / 378.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.1151, allocations: 244.6 kB / 378.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.1151, allocations: 12.81 kB / 378.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.1152, allocations: 20.38 kB / 378.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.1155, allocations: 191.2 kB / 378.6 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.1156, allocations: 0 / 378.6 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.1156, allocations: 12 kB / 378.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.1156, allocations: 4 kB / 378.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.1159, allocations: 153.7 kB / 378.8 MB, free: 11.57 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.001298/0.1172, allocations: 0.9297 MB / 379.7 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.1175, allocations: 146.6 kB / 379.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.1177, allocations: 97.91 kB / 379.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.1178, allocations: 4 kB / 380 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1178, allocations: 38.56 kB / 380 MB, free: 10.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.1178, allocations: 0 / 380 MB, free: 10.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001189/0.119, allocations: 415.9 kB / 380.4 MB, free: 9.793 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.119, allocations: 55.34 kB / 380.5 MB, free: 9.727 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.1192, allocations: 174.4 kB / 380.6 MB, free: 9.543 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.1193, allocations: 29.7 kB / 380.7 MB, free: 9.508 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.636e-05/0.1194, allocations: 148.2 kB / 380.8 MB, free: 9.359 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.78e-05/0.1194, allocations: 71.36 kB / 380.9 MB, free: 9.289 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.608e-05/0.1195, allocations: 37.7 kB / 380.9 MB, free: 9.246 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1196, allocations: 330.8 kB / 381.2 MB, free: 8.914 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.1197, allocations: 51.98 kB / 381.3 MB, free: 8.863 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.1198, allocations: 69.69 kB / 381.3 MB, free: 8.789 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.1201, allocations: 125.6 kB / 381.5 MB, free: 8.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1201, allocations: 0 / 381.5 MB, free: 8.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003665/0.1205, allocations: 218.3 kB / 381.7 MB, free: 8.438 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.1205, allocations: 12 kB / 381.7 MB, free: 8.426 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1205, allocations: 0 / 381.7 MB, free: 8.426 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.1218, allocations: 228.5 kB / 381.9 MB, free: 8.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.1219, allocations: 35.92 kB / 381.9 MB, free: 8.164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004776/0.1224, allocations: 0.6031 MB / 382.6 MB, free: 7.535 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.937e-05/0.1225, allocations: 12.05 kB / 382.6 MB, free: 7.523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.1225, allocations: 11.98 kB / 382.6 MB, free: 7.512 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.0001192/0.1227, allocations: 133.7 kB / 382.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.1227, allocations: 15.91 kB / 382.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004539/0.1232, allocations: 232.2 kB / 382.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1232, allocations: 0 / 382.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1232, allocations: 7.984 kB / 383 MB, free: 7.113 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.1232, allocations: 0 / 383 MB, free: 7.113 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008023/0.124, allocations: 0.5896 MB / 383.5 MB, free: 6.461 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.124, allocations: 0 / 383.5 MB, free: 6.461 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.1242, allocations: 27.98 kB / 383.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009612/0.1251, allocations: 208.6 kB / 383.8 MB, free: 6.227 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.1252, allocations: 4 kB / 383.8 MB, free: 6.223 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004465/0.1256, allocations: 0.6187 MB / 384.4 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1256, allocations: 0 / 384.4 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007634/0.1264, allocations: 432.9 kB / 384.8 MB, free: 5.133 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.726e-05/0.1265, allocations: 101 kB / 384.9 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.1265, allocations: 4 kB / 384.9 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.1267, allocations: 4 kB / 384.9 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.1267, allocations: 24.03 kB / 385 MB, free: 4.984 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.1267, allocations: 7.938 kB / 385 MB, free: 4.977 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.609e-05/0.1268, allocations: 132.2 kB / 385.1 MB, free: 4.848 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1268, allocations: 0 / 385.1 MB, free: 4.848 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.1271, allocations: 55.89 kB / 385.1 MB, free: 4.793 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.0001597/0.1273, allocations: 107.2 kB / 385.2 MB, free: 4.676 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003759/0.1277, allocations: 156.3 kB / 385.4 MB, free: 4.523 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1277, allocations: 0 / 385.4 MB, free: 4.523 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.1279, allocations: 87.97 kB / 385.5 MB, free: 4.438 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.1282, allocations: 35.92 kB / 385.5 MB, free: 4.402 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009439/0.1292, allocations: 0.5557 MB / 386.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.1295, allocations: 0.7361 MB / 386.8 MB, free: 3.055 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.33e-05/0.1296, allocations: 13.55 kB / 386.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.1296, allocations: 15.44 kB / 386.8 MB, free: 3.031 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1296, allocations: 0 / 386.8 MB, free: 3.031 MB / 318.1 MB Notification: Performance of Templates: time 0.005792/0.1354, allocations: 2.571 MB / 389.4 MB, free: 468 kB / 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)