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.001685/0.001685, allocations: 108 kB / 17.06 MB, free: 6.02 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.001927/0.001927, allocations: 199 kB / 18 MB, free: 5.098 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.623/1.623, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.00139/0.00139, allocations: 47.92 kB / 327.9 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1103, allocations: 46.61 MB / 374.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003588/0.1139, allocations: 2.469 MB / 376.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.1154, allocations: 0.6786 MB / 377.6 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.1155, allocations: 0 / 377.6 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.1157, allocations: 39.64 kB / 377.7 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.1159, allocations: 71.34 kB / 377.7 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.1162, allocations: 79.84 kB / 377.8 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002985/0.1165, allocations: 274.6 kB / 378.1 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.1167, allocations: 84.34 kB / 378.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.1169, allocations: 119.5 kB / 378.3 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.1171, allocations: 111.5 kB / 378.4 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/0.1171, allocations: 24 kB / 378.4 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.819e-05/0.1172, allocations: 35.98 kB / 378.4 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.1172, allocations: 47.83 kB / 378.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.1174, allocations: 119.4 kB / 378.6 MB, free: 436 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003272/0.1177, allocations: 283 kB / 378.9 MB, free: 152 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1177, allocations: 3.984 kB / 378.9 MB, free: 148 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1177, allocations: 0 / 378.9 MB, free: 148 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1177, allocations: 4 kB / 378.9 MB, free: 144 kB / 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.2223/0.34, allocations: 0.514 MB / 379.4 MB, free: 13.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.3401, allocations: 9.625 kB / 379.4 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.306e-05/0.3402, allocations: 26.97 kB / 379.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.3405, allocations: 245.8 kB / 379.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.3406, allocations: 12.78 kB / 379.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.337e-05/0.3406, allocations: 24.92 kB / 379.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.341, allocations: 187.5 kB / 379.9 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.341, allocations: 2.156 kB / 379.9 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.341, allocations: 12.38 kB / 379.9 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.341, allocations: 4.125 kB / 379.9 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.3414, allocations: 155.1 kB / 380.1 MB, free: 12.84 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.001226/0.3426, allocations: 0.9229 MB / 381 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/0.3429, allocations: 158.5 kB / 381.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.3431, allocations: 96.69 kB / 381.2 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.3432, allocations: 2.453 kB / 381.2 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.3432, allocations: 37.09 kB / 381.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 2.906e-06/0.3432, allocations: 2.594 kB / 381.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001285/0.3445, allocations: 416.1 kB / 381.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.3445, allocations: 54.5 kB / 381.7 MB, free: 11.96 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.3447, allocations: 174.4 kB / 381.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.3447, allocations: 34.45 kB / 381.9 MB, free: 11.8 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.3448, allocations: 142.4 kB / 382.1 MB, free: 11.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.3448, allocations: 60.3 kB / 382.1 MB, free: 11.63 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.3449, allocations: 41.16 kB / 382.2 MB, free: 11.6 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.858e-05/0.345, allocations: 323.9 kB / 382.5 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.3451, allocations: 59.22 kB / 382.6 MB, free: 11.26 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.3452, allocations: 72.64 kB / 382.6 MB, free: 11.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.3455, allocations: 127.7 kB / 382.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3455, allocations: 0.9375 kB / 382.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003946/0.3459, allocations: 220 kB / 383 MB, free: 11.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.346, allocations: 5.031 kB / 383 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.346, allocations: 1.156 kB / 383 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/0.3473, allocations: 223.1 kB / 383.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.3474, allocations: 37.56 kB / 383.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003494/0.3478, allocations: 0.606 MB / 383.8 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.3479, allocations: 19.72 kB / 383.9 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.3479, allocations: 5.719 kB / 383.9 MB, free: 10.44 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 8.766e-05/0.348, allocations: 127.2 kB / 384 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.3481, allocations: 26.81 kB / 384 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004152/0.3485, allocations: 226.5 kB / 384.2 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3485, allocations: 2.625 kB / 384.2 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3485, allocations: 4 kB / 384.2 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3485, allocations: 1.5 kB / 384.2 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007577/0.3493, allocations: 0.5905 MB / 384.8 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3493, allocations: 0.5625 kB / 384.8 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.3494, allocations: 26.92 kB / 384.9 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001025/0.3505, allocations: 205.7 kB / 385.1 MB, free: 9.715 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.3505, allocations: 6.438 kB / 385.1 MB, free: 9.711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003211/0.3508, allocations: 0.6229 MB / 385.7 MB, free: 9.141 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3509, allocations: 4.641 kB / 385.7 MB, free: 9.137 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007233/0.3516, allocations: 422.5 kB / 386.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.3516, allocations: 94.8 kB / 386.2 MB, free: 8.781 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.3517, allocations: 5.688 kB / 386.2 MB, free: 8.777 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.3518, allocations: 17.47 kB / 386.2 MB, free: 8.773 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.3519, allocations: 13.81 kB / 386.2 MB, free: 8.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.3519, allocations: 5.016 kB / 386.2 MB, free: 8.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.958e-05/0.352, allocations: 132.8 kB / 386.4 MB, free: 8.676 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.352, allocations: 0 / 386.4 MB, free: 8.676 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002945/0.3523, allocations: 59.06 kB / 386.4 MB, free: 8.66 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.0001364/0.3524, allocations: 108.6 kB / 386.5 MB, free: 8.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003921/0.3528, allocations: 153 kB / 386.7 MB, free: 8.523 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3528, allocations: 1.031 kB / 386.7 MB, free: 8.523 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.353, allocations: 86.09 kB / 386.8 MB, free: 8.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.3534, allocations: 26.92 kB / 386.8 MB, free: 8.488 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00095/0.3543, allocations: 0.5458 MB / 387.3 MB, free: 8.133 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.3545, allocations: 0.7382 MB / 388.1 MB, free: 7.434 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.075e-05/0.3546, allocations: 14.39 kB / 388.1 MB, free: 7.426 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.3546, allocations: 14.59 kB / 388.1 MB, free: 7.418 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3546, allocations: 0 / 388.1 MB, free: 7.418 MB / 318.1 MB Notification: Performance of Templates: time 0.007054/0.3617, allocations: 2.655 MB / 390.8 MB, free: 7.188 MB / 318.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)