Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.0008864/0.0008865, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008623/0.0008623, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.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.0006674/0.0006674, allocations: 8 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.31, allocations: 47.6 MB / 326.5 MB, free: 1.609 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002598/0.3126, allocations: 2.08 MB / 328.6 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.3138, allocations: 0.6489 MB / 329.2 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.3139, allocations: 2.938 kB / 329.2 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.314, allocations: 23.84 kB / 329.2 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.3142, allocations: 54.38 kB / 329.3 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.3144, allocations: 62.19 kB / 329.3 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003055/0.3147, allocations: 252.5 kB / 329.6 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.3149, allocations: 63.23 kB / 329.7 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.3151, allocations: 90.05 kB / 329.7 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.3153, allocations: 101.7 kB / 329.8 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.3153, allocations: 11.31 kB / 329.9 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.388e-05/0.3154, allocations: 35.42 kB / 329.9 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.3155, allocations: 32.91 kB / 329.9 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.294e-05/0.3155, allocations: 68.42 kB / 330 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.3157, allocations: 199.1 kB / 330.2 MB, free: 14.79 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3158, allocations: 1.562 kB / 330.2 MB, free: 14.79 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3158, allocations: 0 / 330.2 MB, free: 14.79 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3158, allocations: 0 / 330.2 MB, free: 14.79 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.0007795/0.3166, allocations: 0.4902 MB / 330.7 MB, free: 14.32 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.3166, allocations: 8.75 kB / 330.7 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.316e-05/0.3167, allocations: 25.19 kB / 330.7 MB, free: 14.31 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.317, allocations: 234.1 kB / 330.9 MB, free: 14.06 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.317, allocations: 21.02 kB / 331 MB, free: 14.05 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.69e-05/0.3171, allocations: 17.09 kB / 331 MB, free: 14.05 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004497/0.3175, allocations: 197.4 kB / 331.2 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.3176, allocations: 3.906 kB / 331.2 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.3176, allocations: 6.125 kB / 331.2 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.3176, allocations: 4.75 kB / 331.2 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003377/0.3179, allocations: 156.7 kB / 331.3 MB, free: 13.84 MB / 270.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.001443/0.3194, allocations: 0.9376 MB / 332.3 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003274/0.3197, allocations: 146.7 kB / 332.4 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.32, allocations: 101.7 kB / 332.5 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.32, allocations: 6.953 kB / 332.5 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.32, allocations: 32.03 kB / 332.5 MB, free: 12.8 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 3.096e-06/0.32, allocations: 0 / 332.5 MB, free: 12.8 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.001369/0.3214, allocations: 435.6 kB / 333 MB, free: 12.52 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.3215, allocations: 57.83 kB / 333 MB, free: 12.45 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.3216, allocations: 174 kB / 333.2 MB, free: 12.31 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.3217, allocations: 27.08 kB / 333.2 MB, free: 12.28 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.89e-05/0.3217, allocations: 146.2 kB / 333.4 MB, free: 12.14 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.3218, allocations: 66.73 kB / 333.4 MB, free: 12.09 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/0.3218, allocations: 5.094 kB / 333.4 MB, free: 12.08 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3219, allocations: 322.9 kB / 333.8 MB, free: 11.76 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.3221, allocations: 55.33 kB / 333.8 MB, free: 11.73 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.3222, allocations: 70.88 kB / 333.9 MB, free: 11.69 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.3223, allocations: 62.66 kB / 333.9 MB, free: 11.66 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3224, allocations: 0 / 333.9 MB, free: 11.66 MB / 270.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004872/0.3229, allocations: 232.5 kB / 334.2 MB, free: 11.52 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3229, allocations: 5.438 kB / 334.2 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3229, allocations: 1.625 kB / 334.2 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.3242, allocations: 229 kB / 334.4 MB, free: 11.4 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.3243, allocations: 35.91 kB / 334.4 MB, free: 11.37 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000466/0.3248, allocations: 0.6108 MB / 335 MB, free: 10.73 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.3249, allocations: 19.88 kB / 335.1 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.3249, allocations: 12.05 kB / 335.1 MB, free: 10.7 MB / 270.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.0001264/0.3251, allocations: 129.8 kB / 335.2 MB, free: 10.56 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.3251, allocations: 15.81 kB / 335.2 MB, free: 10.55 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004344/0.3255, allocations: 228.2 kB / 335.4 MB, free: 10.31 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.3256, allocations: 4 kB / 335.4 MB, free: 10.31 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3256, allocations: 7.953 kB / 335.5 MB, free: 10.3 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3256, allocations: 3.984 kB / 335.5 MB, free: 10.3 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007958/0.3264, allocations: 0.5858 MB / 336 MB, free: 9.648 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3264, allocations: 0 / 336 MB, free: 9.648 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.3265, allocations: 32.02 kB / 336.1 MB, free: 9.617 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000944/0.3275, allocations: 208.6 kB / 336.3 MB, free: 9.41 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.3275, allocations: 11.98 kB / 336.3 MB, free: 9.398 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004165/0.328, allocations: 0.6264 MB / 336.9 MB, free: 8.746 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.328, allocations: 0 / 336.9 MB, free: 8.746 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007166/0.3287, allocations: 433.2 kB / 337.3 MB, free: 8.301 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.3287, allocations: 92.89 kB / 337.4 MB, free: 8.191 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.3288, allocations: 19.88 kB / 337.4 MB, free: 8.172 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.3289, allocations: 11.94 kB / 337.5 MB, free: 8.16 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.329, allocations: 11.98 kB / 337.5 MB, free: 8.148 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.329, allocations: 4 kB / 337.5 MB, free: 8.145 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.574e-05/0.3291, allocations: 131.3 kB / 337.6 MB, free: 8.016 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3291, allocations: 0 / 337.6 MB, free: 8.016 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002934/0.3294, allocations: 55.84 kB / 337.7 MB, free: 7.961 MB / 270.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 (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.0001626/0.3296, allocations: 107.2 kB / 337.8 MB, free: 7.848 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003542/0.3299, allocations: 147.9 kB / 337.9 MB, free: 7.703 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.33, allocations: 0 / 337.9 MB, free: 7.703 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.3301, allocations: 95.83 kB / 338 MB, free: 7.609 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.3305, allocations: 23.98 kB / 338 MB, free: 7.586 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009477/0.3315, allocations: 0.6677 MB / 338.7 MB, free: 6.891 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.3318, allocations: 0.7402 MB / 339.4 MB, free: 6.125 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.329e-05/0.3318, allocations: 17.48 kB / 339.4 MB, free: 6.105 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.3319, allocations: 15.42 kB / 339.5 MB, free: 6.09 MB / 270.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3319, allocations: 4 kB / 339.5 MB, free: 6.086 MB / 270.1 MB Notification: Performance of Templates: time 0.005721/0.3376, allocations: 2.289 MB / 341.8 MB, free: 3.801 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1)