Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001108/0.001108, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001613/0.001613, allocations: 172.7 kB / 15.95 MB, free: 208 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.651/1.651, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.0004946/0.000495, allocations: 12 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2822, allocations: 47.59 MB / 326.5 MB, free: 1.453 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002802/0.2851, allocations: 2.088 MB / 328.6 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.2867, allocations: 0.64 MB / 329.2 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000268/0.287, allocations: 7.812 kB / 329.2 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.2872, allocations: 23.12 kB / 329.2 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002426/0.2875, allocations: 63.38 kB / 329.3 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003845/0.2879, allocations: 53.41 kB / 329.3 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003787/0.2883, allocations: 252.4 kB / 329.6 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.2885, allocations: 63.97 kB / 329.6 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.2887, allocations: 94.2 kB / 329.7 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.2889, allocations: 104.8 kB / 329.8 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.324e-05/0.2889, allocations: 12.12 kB / 329.9 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.289, allocations: 26.61 kB / 329.9 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.218e-05/0.2891, allocations: 34.31 kB / 329.9 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.656e-05/0.2892, allocations: 67.05 kB / 330 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.2895, allocations: 196.1 kB / 330.2 MB, free: 14.63 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2895, allocations: 0 / 330.2 MB, free: 14.63 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2895, allocations: 0 / 330.2 MB, free: 14.63 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2895, allocations: 1.031 kB / 330.2 MB, free: 14.63 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.0008881/0.2904, allocations: 0.4975 MB / 330.7 MB, free: 14.16 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.2905, allocations: 9.062 kB / 330.7 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.882e-05/0.2905, allocations: 24.84 kB / 330.7 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.2908, allocations: 230.5 kB / 330.9 MB, free: 13.9 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.2909, allocations: 17.45 kB / 330.9 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.24e-05/0.2909, allocations: 25.06 kB / 331 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/0.2913, allocations: 197.7 kB / 331.2 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.2914, allocations: 3.906 kB / 331.2 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.2914, allocations: 5.406 kB / 331.2 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.2914, allocations: 5.406 kB / 331.2 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003177/0.2917, allocations: 152.7 kB / 331.3 MB, free: 13.68 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.001504/0.2932, allocations: 0.9336 MB / 332.3 MB, free: 12.82 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.2936, allocations: 154 kB / 332.4 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.2939, allocations: 102.1 kB / 332.5 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.294, allocations: 5.844 kB / 332.5 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.294, allocations: 32.88 kB / 332.5 MB, free: 12.64 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.294, allocations: 0 / 332.5 MB, free: 12.64 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.001389/0.2954, allocations: 436 kB / 333 MB, free: 12.36 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.2955, allocations: 52.75 kB / 333 MB, free: 12.29 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.2957, allocations: 166.9 kB / 333.2 MB, free: 12.16 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.2958, allocations: 30.67 kB / 333.2 MB, free: 12.12 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.2959, allocations: 142.6 kB / 333.4 MB, free: 11.99 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.407e-05/0.2959, allocations: 70.42 kB / 333.4 MB, free: 11.93 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.296, allocations: 9 kB / 333.4 MB, free: 11.92 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.2961, allocations: 322.9 kB / 333.8 MB, free: 11.6 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.2962, allocations: 51.72 kB / 333.8 MB, free: 11.58 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.2964, allocations: 74.66 kB / 333.9 MB, free: 11.53 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.2965, allocations: 57.98 kB / 333.9 MB, free: 11.5 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2965, allocations: 5.156 kB / 333.9 MB, free: 11.5 MB / 270.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004837/0.297, allocations: 231.8 kB / 334.2 MB, free: 11.36 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.2971, allocations: 5.75 kB / 334.2 MB, free: 11.36 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.2971, allocations: 5.375 kB / 334.2 MB, free: 11.36 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.2985, allocations: 225.1 kB / 334.4 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.2986, allocations: 27.98 kB / 334.4 MB, free: 11.22 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005575/0.2992, allocations: 0.6147 MB / 335 MB, free: 10.58 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.2994, allocations: 27.92 kB / 335.1 MB, free: 10.55 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.2994, allocations: 4 kB / 335.1 MB, free: 10.55 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.0001413/0.2995, allocations: 125.8 kB / 335.2 MB, free: 10.42 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.2996, allocations: 15.81 kB / 335.2 MB, free: 10.4 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004938/0.3001, allocations: 240.2 kB / 335.4 MB, free: 10.16 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3001, allocations: 4 kB / 335.4 MB, free: 10.15 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3001, allocations: 3.953 kB / 335.4 MB, free: 10.15 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.3001, allocations: 0 / 335.4 MB, free: 10.15 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009845/0.3011, allocations: 0.5935 MB / 336 MB, free: 9.492 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3011, allocations: 0 / 336 MB, free: 9.492 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.3013, allocations: 27.98 kB / 336.1 MB, free: 9.465 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/0.3024, allocations: 212.6 kB / 336.3 MB, free: 9.254 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.3024, allocations: 4 kB / 336.3 MB, free: 9.25 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005008/0.3029, allocations: 0.6225 MB / 336.9 MB, free: 8.602 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3029, allocations: 0 / 336.9 MB, free: 8.602 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008207/0.3038, allocations: 437.1 kB / 337.3 MB, free: 8.152 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.186e-05/0.3039, allocations: 96.97 kB / 337.4 MB, free: 8.039 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.3039, allocations: 15.89 kB / 337.4 MB, free: 8.023 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.3041, allocations: 8 kB / 337.4 MB, free: 8.016 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.3041, allocations: 16.05 kB / 337.5 MB, free: 8 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.3041, allocations: 7.984 kB / 337.5 MB, free: 7.992 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.3042, allocations: 123.2 kB / 337.6 MB, free: 7.871 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3042, allocations: 0 / 337.6 MB, free: 7.871 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003326/0.3046, allocations: 55.84 kB / 337.6 MB, free: 7.816 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.0001903/0.3048, allocations: 107.2 kB / 337.7 MB, free: 7.703 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004407/0.3052, allocations: 159.8 kB / 337.9 MB, free: 7.547 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3053, allocations: 0 / 337.9 MB, free: 7.547 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.3055, allocations: 87.84 kB / 338 MB, free: 7.461 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.3059, allocations: 27.98 kB / 338 MB, free: 7.434 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.3071, allocations: 0.6725 MB / 338.7 MB, free: 6.734 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000584/0.3077, allocations: 0.7363 MB / 339.4 MB, free: 5.973 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.498e-05/0.3078, allocations: 13.55 kB / 339.4 MB, free: 5.957 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.3078, allocations: 15.44 kB / 339.5 MB, free: 5.941 MB / 270.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3078, allocations: 0 / 339.5 MB, free: 5.941 MB / 270.1 MB Notification: Performance of Templates: time 0.00639/0.3142, allocations: 2.288 MB / 341.7 MB, free: 3.656 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1)