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.001275/0.001275, allocations: 114.2 kB / 16.63 MB, free: 6.816 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.001302/0.001302, allocations: 189.8 kB / 17.55 MB, free: 5.93 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.429/1.429, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.001292/0.001293, allocations: 52.16 kB / 279.5 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1104, allocations: 46.63 MB / 326.1 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003917/0.1143, allocations: 2.507 MB / 328.6 MB, free: 2.25 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1155, allocations: 0.675 MB / 329.3 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.1156, allocations: 8 kB / 329.3 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.1158, allocations: 27.77 kB / 329.4 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.1159, allocations: 55.55 kB / 329.4 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.1162, allocations: 63.86 kB / 329.5 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.1165, allocations: 270.8 kB / 329.7 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.1167, allocations: 84.34 kB / 329.8 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.1169, allocations: 115.6 kB / 329.9 MB, free: 0.957 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.1171, allocations: 111.5 kB / 330 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.208e-05/0.1171, allocations: 24 kB / 330.1 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.812e-05/0.1172, allocations: 32 kB / 330.1 MB, free: 0.793 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.1173, allocations: 51.83 kB / 330.1 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.1174, allocations: 131.3 kB / 330.3 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.1176, allocations: 271.3 kB / 330.5 MB, free: 356 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1177, allocations: 0 / 330.5 MB, free: 356 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1177, allocations: 0 / 330.5 MB, free: 356 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1177, allocations: 4 kB / 330.5 MB, free: 352 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.0008749/0.1186, allocations: 0.5302 MB / 331.1 MB, free: 15.77 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1186, allocations: 12.03 kB / 331.1 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.017e-05/0.1187, allocations: 24.66 kB / 331.1 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.119, allocations: 236.6 kB / 331.3 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.119, allocations: 12.81 kB / 331.4 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.119, allocations: 20.38 kB / 331.4 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.1194, allocations: 191.2 kB / 331.6 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.1194, allocations: 3.938 kB / 331.6 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.1195, allocations: 11.94 kB / 331.6 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.1195, allocations: 8 kB / 331.6 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003297/0.1198, allocations: 153.7 kB / 331.7 MB, free: 15.06 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.00136/0.1212, allocations: 0.9373 MB / 332.7 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.1215, allocations: 154.6 kB / 332.8 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.1217, allocations: 96.81 kB / 332.9 MB, free: 13.76 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.1218, allocations: 7.984 kB / 332.9 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.1218, allocations: 34.56 kB / 333 MB, free: 13.71 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.192e-06/0.1218, allocations: 0 / 333 MB, free: 13.71 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001243/0.123, allocations: 422.5 kB / 333.4 MB, free: 13.27 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.1231, allocations: 55.41 kB / 333.4 MB, free: 13.2 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.1232, allocations: 170.4 kB / 333.6 MB, free: 13.03 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1233, allocations: 29.7 kB / 333.6 MB, free: 12.99 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1234, allocations: 148.1 kB / 333.8 MB, free: 12.84 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.1234, allocations: 55.11 kB / 333.8 MB, free: 12.79 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.794e-05/0.1235, allocations: 37.7 kB / 333.9 MB, free: 12.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1237, allocations: 330.8 kB / 334.2 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.1238, allocations: 55.97 kB / 334.2 MB, free: 12.36 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.1239, allocations: 69.69 kB / 334.3 MB, free: 12.29 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.1241, allocations: 125.6 kB / 334.4 MB, free: 12.16 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1242, allocations: 0 / 334.4 MB, free: 12.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003858/0.1246, allocations: 222.2 kB / 334.6 MB, free: 11.93 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.1246, allocations: 11.94 kB / 334.7 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1246, allocations: 0 / 334.7 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/0.126, allocations: 216.6 kB / 334.9 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.1262, allocations: 39.91 kB / 334.9 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000464/0.1266, allocations: 0.6069 MB / 335.5 MB, free: 11.03 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.1268, allocations: 11.94 kB / 335.5 MB, free: 11.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.1268, allocations: 8 kB / 335.5 MB, free: 11.01 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.0001421/0.127, allocations: 137.8 kB / 335.7 MB, free: 10.87 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.127, allocations: 15.81 kB / 335.7 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004411/0.1275, allocations: 228.2 kB / 335.9 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1275, allocations: 7.938 kB / 335.9 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1275, allocations: 0 / 335.9 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1275, allocations: 3.984 kB / 335.9 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008638/0.1284, allocations: 0.5934 MB / 336.5 MB, free: 9.949 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.1284, allocations: 4 kB / 336.5 MB, free: 9.945 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.1285, allocations: 27.98 kB / 336.5 MB, free: 9.918 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001086/0.1296, allocations: 200.7 kB / 336.7 MB, free: 9.719 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.1297, allocations: 8 kB / 336.7 MB, free: 9.711 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004383/0.1301, allocations: 0.6187 MB / 337.4 MB, free: 9.066 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1301, allocations: 0 / 337.4 MB, free: 9.066 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008287/0.131, allocations: 428.7 kB / 337.8 MB, free: 8.625 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.131, allocations: 96.88 kB / 337.9 MB, free: 8.512 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.1311, allocations: 8 kB / 337.9 MB, free: 8.504 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.1312, allocations: 8 kB / 337.9 MB, free: 8.496 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.1313, allocations: 16.05 kB / 337.9 MB, free: 8.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.1313, allocations: 4 kB / 337.9 MB, free: 8.477 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.984e-05/0.1314, allocations: 131.2 kB / 338 MB, free: 8.348 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1314, allocations: 0 / 338 MB, free: 8.348 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000308/0.1317, allocations: 55.84 kB / 338.1 MB, free: 8.293 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.0001767/0.1319, allocations: 107.2 kB / 338.2 MB, free: 8.18 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004158/0.1323, allocations: 151.9 kB / 338.3 MB, free: 8.031 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1323, allocations: 0 / 338.3 MB, free: 8.031 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.1325, allocations: 95.83 kB / 338.4 MB, free: 7.938 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.1329, allocations: 36.72 kB / 338.5 MB, free: 7.902 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.134, allocations: 0.6215 MB / 339.1 MB, free: 7.254 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.1344, allocations: 0.7437 MB / 339.8 MB, free: 6.484 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.177e-05/0.1345, allocations: 17.55 kB / 339.9 MB, free: 6.469 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.1345, allocations: 11.44 kB / 339.9 MB, free: 6.457 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1345, allocations: 0 / 339.9 MB, free: 6.457 MB / 286.1 MB Notification: Performance of Templates: time 0.006023/0.1406, allocations: 2.509 MB / 342.4 MB, free: 3.953 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)