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.001151/0.001151, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001197/0.001197, allocations: 195.6 kB / 16.14 MB, free: 6.707 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.499/1.499, allocations: 205.1 MB / 222 MB, free: 4.75 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.001508/0.001508, allocations: 52.3 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2391, allocations: 46.62 MB / 324.7 MB, free: 2.055 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003065/0.2422, allocations: 2.52 MB / 327.2 MB, free: 68 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009874/0.2432, allocations: 0.6752 MB / 327.9 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.201e-05/0.2433, allocations: 2.594 kB / 327.9 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.2434, allocations: 23.25 kB / 327.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.2435, allocations: 63.77 kB / 328 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.2438, allocations: 65.48 kB / 328 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.244, allocations: 260.3 kB / 328.3 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.2442, allocations: 76.5 kB / 328.3 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.2444, allocations: 96.7 kB / 328.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.2445, allocations: 109 kB / 328.6 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.2446, allocations: 15 kB / 328.6 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.775e-05/0.2447, allocations: 28.95 kB / 328.6 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.2447, allocations: 43.38 kB / 328.6 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.2448, allocations: 117.8 kB / 328.8 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.2451, allocations: 269.2 kB / 329 MB, free: 14.75 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2451, allocations: 5.281 kB / 329 MB, free: 14.75 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2451, allocations: 0 / 329 MB, free: 14.75 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.2451, allocations: 0 / 329 MB, free: 14.75 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.0007824/0.2459, allocations: 0.5144 MB / 329.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.246, allocations: 9.219 kB / 329.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.412e-05/0.246, allocations: 30.19 kB / 329.6 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.2463, allocations: 236 kB / 329.8 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.2463, allocations: 20.7 kB / 329.8 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.2464, allocations: 17.19 kB / 329.8 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.2467, allocations: 204.8 kB / 330 MB, free: 13.85 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.2467, allocations: 0 / 330 MB, free: 13.85 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.2468, allocations: 6.469 kB / 330 MB, free: 13.85 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2468, allocations: 4.875 kB / 330 MB, free: 13.85 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003204/0.2471, allocations: 153.8 kB / 330.2 MB, free: 13.78 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.001358/0.2485, allocations: 0.9331 MB / 331.1 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.2488, allocations: 153.3 kB / 331.3 MB, free: 12.82 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.249, allocations: 105.7 kB / 331.4 MB, free: 12.77 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.249, allocations: 0.9688 kB / 331.4 MB, free: 12.77 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.2491, allocations: 32.88 kB / 331.4 MB, free: 12.73 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 2.344e-06/0.2491, allocations: 3.984 kB / 331.4 MB, free: 12.73 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.001215/0.2503, allocations: 419.5 kB / 331.8 MB, free: 12.45 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.2503, allocations: 56.69 kB / 331.9 MB, free: 12.39 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.2505, allocations: 175.7 kB / 332.1 MB, free: 12.25 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.2505, allocations: 26.73 kB / 332.1 MB, free: 12.21 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.27e-05/0.2506, allocations: 143.1 kB / 332.2 MB, free: 12.08 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.2507, allocations: 57.73 kB / 332.3 MB, free: 12.03 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.505e-05/0.2508, allocations: 37.48 kB / 332.3 MB, free: 12 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.2509, allocations: 335.1 kB / 332.6 MB, free: 11.67 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.251, allocations: 49.67 kB / 332.7 MB, free: 11.64 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.2511, allocations: 72.5 kB / 332.8 MB, free: 11.6 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.2514, allocations: 130 kB / 332.9 MB, free: 11.52 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2514, allocations: 0 / 332.9 MB, free: 11.52 MB / 270.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003928/0.2518, allocations: 224.9 kB / 333.1 MB, free: 11.39 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.2518, allocations: 8.594 kB / 333.1 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.2518, allocations: 1.188 kB / 333.1 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00138/0.2532, allocations: 216.7 kB / 333.3 MB, free: 11.28 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.2533, allocations: 31.92 kB / 333.4 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004345/0.2538, allocations: 0.607 MB / 334 MB, free: 10.62 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.2539, allocations: 19.83 kB / 334 MB, free: 10.6 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.2539, allocations: 4 kB / 334 MB, free: 10.59 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 (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.0001148/0.2541, allocations: 133.7 kB / 334.1 MB, free: 10.45 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.2541, allocations: 19.75 kB / 334.1 MB, free: 10.43 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004199/0.2545, allocations: 228.4 kB / 334.4 MB, free: 10.2 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.2546, allocations: 3.984 kB / 334.4 MB, free: 10.2 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2546, allocations: 0 / 334.4 MB, free: 10.2 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2546, allocations: 0 / 334.4 MB, free: 10.2 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007942/0.2554, allocations: 0.6012 MB / 335 MB, free: 9.531 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2554, allocations: 4.031 kB / 335 MB, free: 9.527 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.2555, allocations: 23.98 kB / 335 MB, free: 9.504 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001101/0.2566, allocations: 212.5 kB / 335.2 MB, free: 9.293 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.2567, allocations: 4 kB / 335.2 MB, free: 9.289 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004333/0.2571, allocations: 0.6264 MB / 335.8 MB, free: 8.637 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2571, allocations: 0 / 335.8 MB, free: 8.637 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007899/0.2579, allocations: 424.8 kB / 336.3 MB, free: 8.199 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.035e-05/0.258, allocations: 100.9 kB / 336.4 MB, free: 8.082 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.258, allocations: 8 kB / 336.4 MB, free: 8.074 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.2582, allocations: 8 kB / 336.4 MB, free: 8.066 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.2582, allocations: 11.98 kB / 336.4 MB, free: 8.055 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.2583, allocations: 4 kB / 336.4 MB, free: 8.051 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.438e-05/0.2584, allocations: 127.2 kB / 336.5 MB, free: 7.926 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2584, allocations: 0 / 336.5 MB, free: 7.926 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.2586, allocations: 59.84 kB / 336.6 MB, free: 7.867 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 (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.0001551/0.2588, allocations: 115.3 kB / 336.7 MB, free: 7.746 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003793/0.2592, allocations: 144.4 kB / 336.8 MB, free: 7.605 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2592, allocations: 0 / 336.8 MB, free: 7.605 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.2594, allocations: 83.84 kB / 336.9 MB, free: 7.523 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.2599, allocations: 36.05 kB / 336.9 MB, free: 7.488 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009845/0.2609, allocations: 0.6286 MB / 337.6 MB, free: 6.832 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.2612, allocations: 0.7363 MB / 338.3 MB, free: 6.07 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.245e-05/0.2612, allocations: 9.562 kB / 338.3 MB, free: 6.062 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.2613, allocations: 15.38 kB / 338.3 MB, free: 6.047 MB / 270.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2613, allocations: 0 / 338.3 MB, free: 6.047 MB / 270.1 MB Notification: Performance of Templates: time 0.005211/0.2665, allocations: 2.383 MB / 340.7 MB, free: 3.668 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)