Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001412/0.001412, allocations: 108.8 kB / 16.51 MB, free: 6.707 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.001511/0.001511, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.525/1.525, allocations: 205.1 MB / 223.3 MB, free: 12.41 MB / 190.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.001338/0.001338, allocations: 47.94 kB / 279.3 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1094, allocations: 46.62 MB / 326 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.00412/0.1136, allocations: 2.504 MB / 328.5 MB, free: 2.355 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.115, allocations: 0.6789 MB / 329.1 MB, free: 1.672 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.1151, allocations: 8 kB / 329.1 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.1153, allocations: 27.77 kB / 329.2 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.1154, allocations: 55.48 kB / 329.2 MB, free: 1.582 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.1157, allocations: 71.92 kB / 329.3 MB, free: 1.512 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000234/0.1159, allocations: 258.8 kB / 329.5 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.1161, allocations: 72.78 kB / 329.6 MB, free: 1.188 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.1163, allocations: 103.5 kB / 329.7 MB, free: 1.086 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.1164, allocations: 111.5 kB / 329.8 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.1164, allocations: 12 kB / 329.8 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.265e-05/0.1165, allocations: 28 kB / 329.9 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.1166, allocations: 39.83 kB / 329.9 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.1167, allocations: 119.4 kB / 330 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.117, allocations: 267.3 kB / 330.3 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.117, allocations: 0 / 330.3 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.117, allocations: 0 / 330.3 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.117, allocations: 0 / 330.3 MB, free: 0.5195 MB / 270.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.0008492/0.1178, allocations: 0.5265 MB / 330.8 MB, free: 15.94 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.1179, allocations: 12.03 kB / 330.8 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.775e-05/0.118, allocations: 32.64 kB / 330.9 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.1182, allocations: 240.5 kB / 331.1 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.1183, allocations: 16.81 kB / 331.1 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.1183, allocations: 20.38 kB / 331.1 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003858/0.1187, allocations: 187.2 kB / 331.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1187, allocations: 0 / 331.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.1188, allocations: 12 kB / 331.3 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.1188, allocations: 8 kB / 331.3 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.1191, allocations: 145.7 kB / 331.5 MB, free: 15.23 MB / 286.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.001354/0.1204, allocations: 0.9374 MB / 332.4 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003349/0.1208, allocations: 150.6 kB / 332.6 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.121, allocations: 96.83 kB / 332.7 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.1211, allocations: 3.984 kB / 332.7 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.1211, allocations: 34.56 kB / 332.7 MB, free: 13.89 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.143e-06/0.1211, allocations: 0 / 332.7 MB, free: 13.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001271/0.1224, allocations: 426.6 kB / 333.1 MB, free: 13.45 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.1224, allocations: 55.34 kB / 333.2 MB, free: 13.38 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.1226, allocations: 174.4 kB / 333.3 MB, free: 13.2 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.1226, allocations: 29.64 kB / 333.4 MB, free: 13.17 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.5e-05/0.1227, allocations: 152.1 kB / 333.5 MB, free: 13.02 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.1228, allocations: 55.11 kB / 333.6 MB, free: 12.96 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-05/0.1229, allocations: 37.7 kB / 333.6 MB, free: 12.92 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.123, allocations: 334.8 kB / 333.9 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.1231, allocations: 51.97 kB / 334 MB, free: 12.53 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.1232, allocations: 69.69 kB / 334 MB, free: 12.46 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.1235, allocations: 125.7 kB / 334.2 MB, free: 12.33 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1235, allocations: 0 / 334.2 MB, free: 12.33 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003823/0.1239, allocations: 222 kB / 334.4 MB, free: 12.11 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1239, allocations: 7.938 kB / 334.4 MB, free: 12.1 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.1239, allocations: 4 kB / 334.4 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/0.1253, allocations: 216.5 kB / 334.6 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.1254, allocations: 35.97 kB / 334.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004508/0.1259, allocations: 0.6108 MB / 335.3 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.126, allocations: 11.94 kB / 335.3 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.126, allocations: 4 kB / 335.3 MB, free: 11.19 MB / 286.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.0001152/0.1262, allocations: 133.8 kB / 335.4 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.1262, allocations: 19.88 kB / 335.4 MB, free: 11.03 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004537/0.1267, allocations: 232.2 kB / 335.6 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.1267, allocations: 4 kB / 335.6 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.1267, allocations: 0 / 335.6 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1267, allocations: 0 / 335.6 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008609/0.1276, allocations: 0.5935 MB / 336.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1276, allocations: 0 / 336.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.1277, allocations: 31.97 kB / 336.3 MB, free: 10.1 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001126/0.1289, allocations: 208.6 kB / 336.5 MB, free: 9.895 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.1289, allocations: 4 kB / 336.5 MB, free: 9.891 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004668/0.1294, allocations: 0.6225 MB / 337.1 MB, free: 9.242 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.1294, allocations: 4.125 kB / 337.1 MB, free: 9.238 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008117/0.1302, allocations: 428.7 kB / 337.5 MB, free: 8.797 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.1303, allocations: 100.9 kB / 337.6 MB, free: 8.68 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.1303, allocations: 0 / 337.6 MB, free: 8.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.1305, allocations: 15.98 kB / 337.6 MB, free: 8.664 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.1306, allocations: 7.984 kB / 337.6 MB, free: 8.656 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.1306, allocations: 8 kB / 337.7 MB, free: 8.648 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.1307, allocations: 127.3 kB / 337.8 MB, free: 8.523 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.402e-06/0.1307, allocations: 0 / 337.8 MB, free: 8.523 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003087/0.131, allocations: 63.78 kB / 337.8 MB, free: 8.461 MB / 286.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.0001762/0.1312, allocations: 107.2 kB / 337.9 MB, free: 8.348 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004136/0.1316, allocations: 148.3 kB / 338.1 MB, free: 8.203 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1316, allocations: 3.938 kB / 338.1 MB, free: 8.199 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.1319, allocations: 95.92 kB / 338.2 MB, free: 8.105 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000467/0.1323, allocations: 31.91 kB / 338.2 MB, free: 8.074 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.1335, allocations: 0.6315 MB / 338.9 MB, free: 7.418 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.1338, allocations: 0.7363 MB / 339.6 MB, free: 6.656 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.882e-05/0.1339, allocations: 13.55 kB / 339.6 MB, free: 6.645 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.134, allocations: 11.44 kB / 339.6 MB, free: 6.633 MB / 286.1 MB Notification: Performance of SimCode: time 4.71e-07/0.134, allocations: 0 / 339.6 MB, free: 6.633 MB / 286.1 MB Notification: Performance of Templates: time 0.00645/0.1404, allocations: 2.373 MB / 342 MB, free: 4.266 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1)