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.0009749/0.0009748, allocations: 94.23 kB / 16.3 MB, free: 5.656 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.001094/0.001094, allocations: 183.4 kB / 17.2 MB, free: 5.59 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.489/1.489, allocations: 205.4 MB / 223.3 MB, free: 13.18 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.0004216/0.0004216, allocations: 20 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09414/0.09457, allocations: 47.57 MB / 327.7 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002354/0.09697, allocations: 1.984 MB / 329.7 MB, free: 2.102 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.09802, allocations: 0.6599 MB / 330.3 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.005e-05/0.09813, allocations: 4 kB / 330.3 MB, free: 1.434 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.662e-05/0.09818, allocations: 19.83 kB / 330.4 MB, free: 1.414 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.09833, allocations: 79.77 kB / 330.4 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.09855, allocations: 51.88 kB / 330.5 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.09879, allocations: 191.6 kB / 330.7 MB, free: 1.098 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.09895, allocations: 60.8 kB / 330.7 MB, free: 1.039 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.09908, allocations: 95.62 kB / 330.8 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.09922, allocations: 99.59 kB / 330.9 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.09926, allocations: 12 kB / 330.9 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.987e-05/0.09933, allocations: 20 kB / 331 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.66e-05/0.09938, allocations: 39.83 kB / 331 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.071e-05/0.09944, allocations: 73.58 kB / 331.1 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.09963, allocations: 199.7 kB / 331.3 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.09964, allocations: 0 / 331.3 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.09965, allocations: 0 / 331.3 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.09966, allocations: 0 / 331.3 MB, free: 0.5039 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.0007423/0.1004, allocations: 0.4911 MB / 331.7 MB, free: 15.96 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.1005, allocations: 8.031 kB / 331.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.055e-05/0.1005, allocations: 23.72 kB / 331.8 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.1008, allocations: 243.2 kB / 332 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.1008, allocations: 16.39 kB / 332 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.338e-05/0.1009, allocations: 24 kB / 332.1 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003622/0.1013, allocations: 183.3 kB / 332.2 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.1013, allocations: 0 / 332.2 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.1013, allocations: 12 kB / 332.2 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.1013, allocations: 4 kB / 332.3 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.1016, allocations: 153.7 kB / 332.4 MB, free: 15.26 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.001287/0.1029, allocations: 0.9375 MB / 333.3 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.1032, allocations: 154.6 kB / 333.5 MB, free: 14.06 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.1033, allocations: 4 kB / 333.5 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.1033, allocations: 30.56 kB / 333.5 MB, free: 14.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.1033, allocations: 0 / 333.5 MB, free: 14.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001255/0.1046, allocations: 430.7 kB / 333.9 MB, free: 13.57 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.1046, allocations: 55.41 kB / 334 MB, free: 13.5 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.1048, allocations: 174.4 kB / 334.2 MB, free: 13.32 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.1048, allocations: 29.7 kB / 334.2 MB, free: 13.29 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.845e-05/0.1049, allocations: 140.2 kB / 334.3 MB, free: 13.15 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/0.105, allocations: 67.09 kB / 334.4 MB, free: 13.08 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.105, allocations: 4 kB / 334.4 MB, free: 13.08 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1051, allocations: 330.8 kB / 334.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.1052, allocations: 52.3 kB / 334.8 MB, free: 12.7 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.1054, allocations: 74.38 kB / 334.9 MB, free: 12.62 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1055, allocations: 71.94 kB / 334.9 MB, free: 12.55 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1055, allocations: 0 / 334.9 MB, free: 12.55 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005001/0.106, allocations: 230.1 kB / 335.1 MB, free: 12.31 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.106, allocations: 4 kB / 335.2 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1061, allocations: 0 / 335.2 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/0.1074, allocations: 224.6 kB / 335.4 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.1075, allocations: 31.97 kB / 335.4 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000477/0.108, allocations: 0.6186 MB / 336 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.1081, allocations: 19.88 kB / 336 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.1082, allocations: 4 kB / 336 MB, free: 11.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001228/0.1083, allocations: 129.8 kB / 336.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.1083, allocations: 15.81 kB / 336.2 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004427/0.1088, allocations: 236.3 kB / 336.4 MB, free: 10.99 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.1088, allocations: 4 kB / 336.4 MB, free: 10.99 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1088, allocations: 0 / 336.4 MB, free: 10.99 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.1088, allocations: 7.938 kB / 336.4 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.1091, allocations: 285.4 kB / 336.7 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1091, allocations: 4 kB / 336.7 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.1093, allocations: 31.92 kB / 336.7 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001078/0.1104, allocations: 220.6 kB / 337 MB, free: 10.4 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.1104, allocations: 4 kB / 337 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004659/0.1109, allocations: 0.6225 MB / 337.6 MB, free: 9.746 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1109, allocations: 0 / 337.6 MB, free: 9.746 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005439/0.1115, allocations: 388.5 kB / 338 MB, free: 9.348 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.619e-05/0.1115, allocations: 100.8 kB / 338.1 MB, free: 9.23 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.1116, allocations: 7.984 kB / 338.1 MB, free: 9.223 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.1117, allocations: 8.062 kB / 338.1 MB, free: 9.215 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.1118, allocations: 15.98 kB / 338.1 MB, free: 9.199 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.1118, allocations: 8.094 kB / 338.1 MB, free: 9.191 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.1119, allocations: 127.2 kB / 338.2 MB, free: 9.066 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1119, allocations: 0 / 338.2 MB, free: 9.066 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003115/0.1122, allocations: 59.84 kB / 338.3 MB, free: 9.008 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001838/0.1124, allocations: 103.2 kB / 338.4 MB, free: 8.898 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000417/0.1129, allocations: 164.3 kB / 338.5 MB, free: 8.738 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1129, allocations: 3.938 kB / 338.5 MB, free: 8.734 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.1131, allocations: 92.14 kB / 338.6 MB, free: 8.645 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.1134, allocations: 23.98 kB / 338.7 MB, free: 8.621 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009853/0.1144, allocations: 0.6782 MB / 339.3 MB, free: 7.922 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.1147, allocations: 0.7363 MB / 340.1 MB, free: 7.16 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.58e-05/0.1148, allocations: 17.55 kB / 340.1 MB, free: 7.141 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.1148, allocations: 11.44 kB / 340.1 MB, free: 7.129 MB / 286.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1148, allocations: 0 / 340.1 MB, free: 7.129 MB / 286.1 MB Notification: Performance of Templates: time 0.005603/0.1204, allocations: 2.279 MB / 342.4 MB, free: 4.855 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: