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.001123/0.001123, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.00117/0.00117, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.49/1.49, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001259/0.001259, allocations: 47.94 kB / 280 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1147, allocations: 46.63 MB / 326.6 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004831/0.1196, allocations: 2.466 MB / 329.1 MB, free: 1.973 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.1209, allocations: 0.671 MB / 329.8 MB, free: 1.297 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.121, allocations: 4 kB / 329.8 MB, free: 1.293 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.1212, allocations: 31.66 kB / 329.8 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.1213, allocations: 71.33 kB / 329.9 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.1216, allocations: 83.83 kB / 329.9 MB, free: 1.109 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000285/0.1219, allocations: 270.8 kB / 330.2 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.1221, allocations: 84.34 kB / 330.3 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.1223, allocations: 111.5 kB / 330.4 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.1225, allocations: 111.5 kB / 330.5 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.726e-05/0.1225, allocations: 24 kB / 330.5 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.311e-05/0.1226, allocations: 35.98 kB / 330.6 MB, free: 496 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.953e-05/0.1227, allocations: 47.84 kB / 330.6 MB, free: 448 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.1228, allocations: 131.3 kB / 330.7 MB, free: 316 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.1231, allocations: 271.3 kB / 331 MB, free: 44 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.1231, allocations: 4 kB / 331 MB, free: 40 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1232, allocations: 0 / 331 MB, free: 40 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1232, allocations: 0 / 331 MB, free: 40 kB / 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.0009144/0.1241, allocations: 0.5224 MB / 331.5 MB, free: 15.47 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.1241, allocations: 8.031 kB / 331.5 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.326e-05/0.1242, allocations: 28.64 kB / 331.6 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.1245, allocations: 240.5 kB / 331.8 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.1246, allocations: 12.81 kB / 331.8 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.5e-05/0.1246, allocations: 20.38 kB / 331.8 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003652/0.125, allocations: 195.2 kB / 332 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.125, allocations: 0 / 332 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.1251, allocations: 11.94 kB / 332 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/0.1251, allocations: 4 kB / 332 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.1254, allocations: 153.7 kB / 332.2 MB, free: 14.76 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.001442/0.1269, allocations: 0.9373 MB / 333.1 MB, free: 13.72 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000338/0.1272, allocations: 158.5 kB / 333.3 MB, free: 13.55 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.1275, allocations: 96.77 kB / 333.4 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.1275, allocations: 7.984 kB / 333.4 MB, free: 13.45 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.1275, allocations: 38.56 kB / 333.4 MB, free: 13.4 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.222e-06/0.1275, allocations: 0 / 333.4 MB, free: 13.4 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001263/0.1288, allocations: 422.5 kB / 333.8 MB, free: 12.96 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.1289, allocations: 59.41 kB / 333.9 MB, free: 12.89 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.1291, allocations: 162.4 kB / 334.1 MB, free: 12.73 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.1291, allocations: 33.7 kB / 334.1 MB, free: 12.69 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1292, allocations: 152.1 kB / 334.2 MB, free: 12.54 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.1293, allocations: 59.11 kB / 334.3 MB, free: 12.48 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-05/0.1293, allocations: 33.7 kB / 334.3 MB, free: 12.44 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1295, allocations: 330.8 kB / 334.7 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.1296, allocations: 47.97 kB / 334.7 MB, free: 12.06 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.1297, allocations: 69.69 kB / 334.8 MB, free: 11.98 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.13, allocations: 129.6 kB / 334.9 MB, free: 11.85 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.13, allocations: 0 / 334.9 MB, free: 11.85 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004039/0.1304, allocations: 226.1 kB / 335.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1304, allocations: 7.938 kB / 335.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1305, allocations: 0 / 335.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/0.1318, allocations: 212.6 kB / 335.3 MB, free: 11.4 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.1319, allocations: 31.98 kB / 335.4 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004876/0.1324, allocations: 0.6147 MB / 336 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.1326, allocations: 15.91 kB / 336 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.1326, allocations: 4 kB / 336 MB, free: 10.71 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.0001216/0.1327, allocations: 137.8 kB / 336.1 MB, free: 10.57 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.1328, allocations: 15.81 kB / 336.1 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004662/0.1332, allocations: 228.2 kB / 336.4 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1332, allocations: 8.062 kB / 336.4 MB, free: 10.31 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.1333, allocations: 0 / 336.4 MB, free: 10.31 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1333, allocations: 0 / 336.4 MB, free: 10.31 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008947/0.1342, allocations: 0.5973 MB / 337 MB, free: 9.648 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.1342, allocations: 4 kB / 337 MB, free: 9.645 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.1343, allocations: 27.97 kB / 337 MB, free: 9.617 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001006/0.1353, allocations: 200.7 kB / 337.2 MB, free: 9.418 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.1354, allocations: 4 kB / 337.2 MB, free: 9.414 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004747/0.1359, allocations: 0.6264 MB / 337.8 MB, free: 8.762 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1359, allocations: 4.062 kB / 337.8 MB, free: 8.758 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007869/0.1367, allocations: 424.6 kB / 338.2 MB, free: 8.32 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.1368, allocations: 101 kB / 338.3 MB, free: 8.203 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.1368, allocations: 8 kB / 338.4 MB, free: 8.195 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.1369, allocations: 11.98 kB / 338.4 MB, free: 8.184 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.137, allocations: 7.984 kB / 338.4 MB, free: 8.176 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.137, allocations: 8 kB / 338.4 MB, free: 8.168 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.1371, allocations: 128.2 kB / 338.5 MB, free: 8.043 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1371, allocations: 0 / 338.5 MB, free: 8.043 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003079/0.1375, allocations: 63.84 kB / 338.6 MB, free: 7.98 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.0002028/0.1377, allocations: 111.2 kB / 338.7 MB, free: 7.863 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004159/0.1381, allocations: 143.9 kB / 338.8 MB, free: 7.723 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.1381, allocations: 4 kB / 338.8 MB, free: 7.719 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.1383, allocations: 91.75 kB / 338.9 MB, free: 7.629 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.1387, allocations: 32.91 kB / 338.9 MB, free: 7.598 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.1398, allocations: 0.5404 MB / 339.5 MB, free: 7.027 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.1401, allocations: 0.7361 MB / 340.2 MB, free: 6.266 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.948e-05/0.1402, allocations: 9.562 kB / 340.2 MB, free: 6.258 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.1402, allocations: 15.38 kB / 340.2 MB, free: 6.242 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1403, allocations: 3.938 kB / 340.2 MB, free: 6.238 MB / 286.1 MB Notification: Performance of Templates: time 0.006339/0.1466, allocations: 2.538 MB / 342.8 MB, free: 3.707 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)